]> git.ipfire.org Git - thirdparty/tornado.git/commit
httputil: Only strip tabs and spaces from header values 3387/head
authorBen Darnell <ben@bendarnell.com>
Wed, 5 Jun 2024 20:50:37 +0000 (16:50 -0400)
committerBen Darnell <ben@bendarnell.com>
Thu, 6 Jun 2024 17:34:27 +0000 (13:34 -0400)
commit8d721a877dd5c2bc0693d9c4d3954eb11fbd404b
treeee17f68901705b11ddfa3919642f316770ecda4b
parentfb119c767e9c43e71ea823311b0d53f566d86b73
httputil: Only strip tabs and spaces from header values

The RFC specifies that only tabs and spaces should be stripped.
Removing additonal whitespace characters can lead to framing
errors with certain proxies.
tornado/httputil.py
tornado/test/httputil_test.py