]> git.ipfire.org Git - thirdparty/tornado.git/commit
Better HTTP header parsing: Allow (and strip) any amount of leading
authorBen Darnell <bdarnell@beaker.local>
Mon, 19 Apr 2010 18:20:03 +0000 (11:20 -0700)
committerBen Darnell <bdarnell@beaker.local>
Mon, 19 Apr 2010 18:20:03 +0000 (11:20 -0700)
commitb8a28243437892a0802fba5a8a95ab1b0f6f5b2d
treeb4b50096ba729952764a7fe130c60f22cf17b727
parent43e02a2d88d67fdc8da532c60b13125af11590e4
Better HTTP header parsing: Allow (and strip) any amount of leading
and trailing whitespace around header values instead of just a single
space.  Such whitespace is legal but appears to be uncommon (and nginx
apparently normalizes everything to a single space)
http://tools.ietf.org/html/rfc2616#page-31
tornado/httpclient.py
tornado/httpserver.py
tornado/wsgi.py