Salnet007 / httplib2

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

HEAD requests cause next request to be retried #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Perform a HEAD request
2. Perform a POST request immediately after

What is the expected output? What do you see instead?
POST request should only be called once. Instead, POST request is called 
twice.

What version of the product are you using? On what operating system?
hg tip

Please provide any additional information below.
Caused by the fix to issue 56. The response should have been closed instead 
of just ignored (see attached patch).
However, should requests ever be automatically retried anyway, especially 
POST requests?

Original issue reported on code.google.com by matt.goo...@gmail.com on 8 Sep 2009 at 3:19

Attachments:

GoogleCodeExporter commented 9 years ago
Hello, starring this issue because this causes problems with couchdb-python. 
Since couchdb-python uses 
httplib2 to talk to the db, the second post request actually causes an 
exception in couchdb-python making 
talking to the database pretty much impossible.

Original comment by dnolen.l...@gmail.com on 2 Oct 2009 at 4:18

GoogleCodeExporter commented 9 years ago
I'm also getting bit by this via couchdb. Please fix! :)

Original comment by whit537@gmail.com on 17 Oct 2009 at 8:36

GoogleCodeExporter commented 9 years ago
This pretty much breaks couchdb-python, which is starting to be used more and 
more on 
production environments. Would really appreciate a fix :)

Original comment by hoi...@gmail.com on 3 Nov 2009 at 11:58

GoogleCodeExporter commented 9 years ago
ditto on couchdb-python, one of our servers got 0.5.0 on it and it was bad news.

Original comment by ray.slak...@gmail.com on 14 Nov 2009 at 5:36

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 3e88c07b96.

Original comment by joe.gregorio@gmail.com on 16 Nov 2009 at 4:06

GoogleCodeExporter commented 9 years ago
Fixed in trunk.

Original comment by joe.gregorio@gmail.com on 16 Nov 2009 at 4:06

GoogleCodeExporter commented 9 years ago
Issue 63 has been merged into this issue.

Original comment by joe.gregorio@gmail.com on 16 Nov 2009 at 4:07