Re: Problem with httplib and HEAD request

2006-03-28 Thread Mitch . Garnaat
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 -- http://mail.python.org/mailman/listinfo/python-list

Problem with httplib and HEAD request

2006-03-28 Thread Mitch . Garnaat
Hi - I'm writing some Python code to interact with Amazon's S3 service. One feature of S3 is that it will allow you to use the HTTP HEAD request to retrieve metadata about an S3 object without actually retrieving the content of the object. In trying to use this feature, I'm running into what I t