about summary refs log tree commit homepage
path: root/ext/unicorn_http/unicorn_http_common.rl
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-10-30 21:10:44 +0000
committerEric Wong <e@80x24.org>2016-10-30 21:10:44 +0000
commit1801e22f390549284892456edc1c3117d03e8cfd (patch)
tree764875855ab3cc1dd74b74e1017a34d35779f608 /ext/unicorn_http/unicorn_http_common.rl
parentdde44f1570112ee95a7eb766105d988ce70f1278 (diff)
parentd5fbbf547203061b1eaafbe80c4538a37fce5a34 (diff)
downloadunicorn-1801e22f390549284892456edc1c3117d03e8cfd.tar.gz
* origin/rfc2616-sec19.3:
  Add some tolerance (RFC2616 sec. 19.3)
Diffstat (limited to 'ext/unicorn_http/unicorn_http_common.rl')
-rw-r--r--ext/unicorn_http/unicorn_http_common.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/unicorn_http/unicorn_http_common.rl b/ext/unicorn_http/unicorn_http_common.rl
index cc1d455..0988b54 100644
--- a/ext/unicorn_http/unicorn_http_common.rl
+++ b/ext/unicorn_http/unicorn_http_common.rl
@@ -4,7 +4,7 @@
 
 #### HTTP PROTOCOL GRAMMAR
 # line endings
-  CRLF = "\r\n";
+  CRLF = ("\r\n" | "\n");
 
 # character types
   CTL = (cntrl | 127);