2
0
Fork 0

Accept LF in http responses instead of CRLF too

This commit is contained in:
Stefan Bühler 2009-09-06 17:19:06 +02:00
parent 5e5f5564ee
commit 2a29965dc5
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@
HT = '\t';
DQUOTE = '"';
CRLF = CR LF;
# RFC 2616 requires CRLF = CR LF; but many backends only send us LF (especially cgi)
CRLF = (CR LF | LF);
LWS = CRLF? (SP | HT)+; # linear white space
TEXT = (OCTET - CTL) | LWS;
HEX = [a-fA-F0-9];