diff options
author | Ryan <ry@tinyclouds.org> | 2009-08-07 18:25:25 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-08-07 18:25:25 +0200 |
commit | d8226af7f513ab32cef0844c4b9574abe8f9f016 (patch) | |
tree | 5b6d5e8f0abf45611040d0381a832e6f5c880f1a /deps/http_parser/test.c | |
parent | 6ffe389c97f350e741437c2a68ac6e5da3a2c248 (diff) | |
download | node-new-d8226af7f513ab32cef0844c4b9574abe8f9f016.tar.gz |
Upgrade http_parser to v0.2
Diffstat (limited to 'deps/http_parser/test.c')
-rw-r--r-- | deps/http_parser/test.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/deps/http_parser/test.c b/deps/http_parser/test.c index 6188629681..ba8329f12e 100644 --- a/deps/http_parser/test.c +++ b/deps/http_parser/test.c @@ -354,6 +354,16 @@ const struct message responses[] = ,.body= "" } +, {.name= "301 no response phrase" + ,.type= HTTP_RESPONSE + ,.raw= "HTTP/1.1 301\r\n\r\n" + ,.should_keep_alive = TRUE + ,.status_code= 301 + ,.num_headers= 0 + ,.headers= {} + ,.body= "" +} + , {.name= NULL } /* sentinel */ }; |