about summary refs log tree commit homepage
path: root/ext/http11/http11_parser.rl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/http11/http11_parser.rl')
-rw-r--r--ext/http11/http11_parser.rl2
1 files changed, 1 insertions, 1 deletions
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);