masperro / httplib2

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

HEAD requests with redirects become GETs with cache #163

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. http = httplib2.Http(cache='SOME_LOCATION')
2. h, r = http.request('http://bit.ly/qpNbiv', method='HEAD')
3. len(r)
186754

What is the expected output? What do you see instead?
I expect a zero-length result

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

Please provide any additional information below.

This looks to me like it may be bug #123 resurfacing.  I actually struggled for 
a few minutes trying to decide whether to comment there, or open a new bug.

I've attached an interpreter session log with debugging enabled.

Thanks,

James

Original issue reported on code.google.com by JNR...@gmail.com on 14 Aug 2011 at 1:34

Attachments: