Improve redirect handling#157
Improve redirect handling#157fafhrd91 merged 2 commits intoaio-libs:masterfrom Eyepea:improve_redirect_handling
Conversation
|
Thank you! |
|
Hi @fafhrd91, Thanks for the merge, it's a real pleasure to work with a collaborative guy ;-) BTW, if somebody could make a release of aiohttp in a near future, it should be cool. |
|
+1 for next bugfix release On Thu, Oct 9, 2014 at 3:24 PM, Ludovic Gasc [email protected]
Thanks, |
|
I'd like to merge PR for chunking requests first. I am planing to make On Thursday, October 9, 2014, Andrew Svetlov [email protected]
|
Hi,
I've added 307 handling (#155) + for 301 and 302, I mimic IE behaviour, to replace HTTP verb by GET after redirection. For technical details: https://github.com/kennethreitz/requests/pull/269
It's a really an issue for us, because we need to interact with some old fashion webapp without WS API that use a lot this assumption.
Moreover, this behaviour is now official, 307 HTTP code has been created to handle correctly redirections.
Thanks for reviewing.
Regards.