]> git.ipfire.org Git - thirdparty/tornado.git/commit
simple_httpclient: Only convert POST requests to GETs on redirect 2440/head
authorBen Darnell <ben@bendarnell.com>
Tue, 1 Jan 2019 17:55:58 +0000 (12:55 -0500)
committerBen Darnell <ben@bendarnell.com>
Tue, 1 Jan 2019 17:55:58 +0000 (12:55 -0500)
commitc443fb7bf8a87ba8ab02b9a6af9e140cabc0ab0d
tree735e3d53c19bba00a30e7089eb5d5b397380fcf2
parent4f486a4aec746e9d66441600ee3b0743228b061c
simple_httpclient: Only convert POST requests to GETs on redirect

Convert POST to GET on 301 in addition to 302 and 303.
tornado/simple_httpclient.py
tornado/test/httpclient_test.py