about summary refs log tree commit homepage
path: root/ext/http11/http11_parser_common.rl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/http11/http11_parser_common.rl')
-rw-r--r--ext/http11/http11_parser_common.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http11/http11_parser_common.rl b/ext/http11/http11_parser_common.rl
index a70d4da..53c805f 100644
--- a/ext/http11/http11_parser_common.rl
+++ b/ext/http11/http11_parser_common.rl
@@ -41,7 +41,7 @@
   HTTP_Version = ( "HTTP/" http_number ) >mark %http_version ;
   Request_Line = ( Method " " Request_URI ("#" Fragment){0,1} " " HTTP_Version CRLF ) ;
 
-  field_name = ( token -- ":" )+ >start_field %write_field;
+  field_name = ( token -- ":" )+ >start_field $snake_upcase_field %write_field;
 
   field_value = any* >start_value %write_value;