mamaduckmaster / httplib2

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

HEAD requests turn into GETs on redirect (for pages cached with GET requests?) #123

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If you call request() with method='HEAD' on a URL that redirects (e.g. a bit.ly 
URL) I see GET requests happening on the redirected location.

If I clear the cache everything seems to work fine, so previous GET requests on 
those links may be contributing to the problem.  However, this is not the 
behavior I would expect, as it nullifies the overhead benefits of using HEAD 
requests.

I'm using httplib2-0.6.0-py2.7 on Windows Vista

Original issue reported on code.google.com by joshseg...@gmail.com on 4 Jan 2011 at 5:24

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 75aaf22e6e.

Original comment by joe.gregorio@gmail.com on 14 Feb 2011 at 2:40