masperro / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

302 redirects on post requests can lead to infinite redirect loops #139

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When you post to an URL, say http://somedomain.com/ and the server replies with 
302 redirect to the same url "/". Then httplib2 will try to post the same data 
again which leads to an infinite redirect loop. httplib2 should translate the 
redirect to a get request to break the loop like web browsers do.

Original issue reported on code.google.com by bjou...@gmail.com on 3 Apr 2011 at 10:49

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 10586b0a5ab0.

Original comment by joe.gregorio@gmail.com on 13 Jun 2011 at 5:32