]> git.ipfire.org Git - thirdparty/tornado.git/commit
Avoid modifying the headers object passed in by the client.
authorBen Darnell <ben@bendarnell.com>
Tue, 6 Mar 2012 05:38:47 +0000 (21:38 -0800)
committerBen Darnell <ben@bendarnell.com>
Tue, 6 Mar 2012 05:38:47 +0000 (21:38 -0800)
commit2f35821c235a5e747b57b8b2c3d84154dbcbaea1
treeecce8105ac56eb29f3989abb0423c61ac9b2adc4
parentdaeb7c41f6a4cefb7b75701388f04f7c676395e3
Avoid modifying the headers object passed in by the client.

This fixes a problem in which the header object was reused across requests
and behavior became inconsistent when following redirects.

Closes #459.
tornado/httputil.py
tornado/simple_httpclient.py
tornado/test/simple_httpclient_test.py