diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/http11/http11.c | 2 | ||||
-rw-r--r-- | ext/http11/http11_parser.rl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/http11/http11.c b/ext/http11/http11.c index 55ecc0f..9e2cc6f 100644 --- a/ext/http11/http11.c +++ b/ext/http11/http11.c @@ -520,7 +520,7 @@ void Init_http11() DEF_GLOBAL(server_protocol, "SERVER_PROTOCOL"); DEF_GLOBAL(server_protocol_value, "HTTP/1.1"); DEF_GLOBAL(http_host, "HTTP_HOST"); - DEF_GLOBAL(mongrel_version, "Mongrel 0.3.12.1"); + DEF_GLOBAL(mongrel_version, "Mongrel 0.3.12.2"); DEF_GLOBAL(server_software, "SERVER_SOFTWARE"); DEF_GLOBAL(port_80, "80"); diff --git a/ext/http11/http11_parser.rl b/ext/http11/http11_parser.rl index af3a444..6a256a6 100644 --- a/ext/http11/http11_parser.rl +++ b/ext/http11/http11_parser.rl @@ -99,7 +99,7 @@ field_value = any* >start_value %write_value; - message_header = field_name ":" field_value :> CRLF; + message_header = field_name ":" field_value $0 CRLF >1; Request = Request_Line (message_header)* ( CRLF @done); |