Problem with httplib and HEAD request

Mitch.Garnaat at gmail.com Mitch.Garnaat at gmail.com
Tue Mar 28 21:19:33 EST 2006


For what it's worth, I made the following change to httplib.py and it
seems to have solved my problems:

c455
<         if self.chunked:
---
>         if self.chunked and self._method != 'HEAD':

I'm using Python 2.4.1 on MacOS.

Mitch




More information about the Python-list mailing list