2
0
Fork 0

[core]: accept LF instead of CR LF in http requests

personal/stbuehler/wip
Stefan Bühler 2011-08-22 17:30:29 +02:00
parent 9f832c75ea
commit d579b8a163
1 changed files with 2 additions and 1 deletions

View File

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