]> git.ipfire.org Git - thirdparty/tornado.git/commit
Use copy.deepcopy to clone HTTPRequest when following redirects.
authorBen Darnell <ben@bendarnell.com>
Mon, 20 Feb 2012 05:30:15 +0000 (21:30 -0800)
committerBen Darnell <ben@bendarnell.com>
Mon, 20 Feb 2012 05:30:15 +0000 (21:30 -0800)
commitb7e604646537984e967dd25447a8df3e221bf9ed
treee92849903b17ce710e068bbcab33aa294783ea98
parenteac1e538b49c292e283965b6a7d6e3f314bf2123
Use copy.deepcopy to clone HTTPRequest when following redirects.

This gives each request in a redirect chain its own copy of the
headers dictionary.

Closes #459.
tornado/simple_httpclient.py