<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/httplib.py, branch v2.2.1</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/httplib.py?h=v2.2.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/httplib.py?h=v2.2.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-03-25T12:24:58Z</updated>
<entry>
<title>backport akuchling's checkin of</title>
<updated>2002-03-25T12:24:58Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-25T12:24:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d360a0058e141e3a642fcee2b233623e7a309fff'/>
<id>urn:sha1:d360a0058e141e3a642fcee2b233623e7a309fff</id>
<content type='text'>
    revision 1.47 of httplib.py

[Bug #531616] Make HTTPS work again by adding a sendall method to the
FakeSocket class.  Without it, the sendall() call got the method on
the underlying socket object, and that messed up SSL.

Does httplib use other methods of sockets that FakeSocket doesn't support?
Someone should take a look...  (I'll try to give it a once-over.)

2.2.1 bugfix candidate.
</content>
</entry>
<entry>
<title>I *think* this should go in.  May be wrong -- please howl in protest</title>
<updated>2002-03-11T10:19:16Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-11T10:19:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=98f5a893852126740afd7b097d5d89f04113bcdd'/>
<id>urn:sha1:98f5a893852126740afd7b097d5d89f04113bcdd</id>
<content type='text'>
if so.

backport jhylton's checkin of
    revision 1.46 of httplib.py

Fix SF bug 525520.

Don't automatically add a Host: header if the headers passed to
request() already has a Host key.
</content>
</entry>
<entry>
<title>backport jhylton's checkin of</title>
<updated>2002-03-11T10:06:36Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-11T10:06:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7ac030322ffa51990f5804531ed7ae6a6b6e38c4'/>
<id>urn:sha1:7ac030322ffa51990f5804531ed7ae6a6b6e38c4</id>
<content type='text'>
    revision 1.45 of httplib.py

SF bug report #405939: wrong Host header with proxy

In August, Greg said this looked good, so I'm going ahead with it.

The fix is different from the one in the bug report.  Instead of using
a regular expression to extract the host from the url, I use
urlparse.urlsplit.

Martin commented that the patch doesn't address URLs that have basic
authentication username and password in the header.  I don't see any
code anywhere in httplib that supports this feature, so I'm not going
to address it for this fix.

Bug fix candidate.
</content>
</entry>
<entry>
<title>The Grande 'sendall()' patch, copied from release21-maint. Fixes #516715.</title>
<updated>2002-02-16T23:08:25Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-02-16T23:08:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f0c3827c501785c3bf4b819ee19b6c4542daab1e'/>
<id>urn:sha1:f0c3827c501785c3bf4b819ee19b6c4542daab1e</id>
<content type='text'>
Replaces calls to socket.send() (which isn't guaranteed to send all data)
with the new socket.sendall() method.
</content>
</entry>
<entry>
<title>Somebody checked in a version of httplib that doesn't even compile --</title>
<updated>2001-10-11T18:15:51Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-10-11T18:15:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f3623f310e92ddb499e020635fe4977aae38a719'/>
<id>urn:sha1:f3623f310e92ddb499e020635fe4977aae38a719</id>
<content type='text'>
SyntaxError.  Fix it.
</content>
</entry>
<entry>
<title>Fix for SF buf #458835</title>
<updated>2001-10-11T17:47:22Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-10-11T17:47:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6459c8d067890a64fc526204ab7004f9c8fcfe98'/>
<id>urn:sha1:6459c8d067890a64fc526204ab7004f9c8fcfe98</id>
<content type='text'>
Try to be systematic about dealing with socket and ssl exceptions in
FakeSocket.makefile().  The previous version of the code caught all
ssl errors and treated them as EOF, even though most of the errors
don't mean EOF.

An SSL error can mean on of three things:

    1. The SSL/TLS connection was closed.
    2. The operation should be retried.
    3. An error occurred.

Also, if a socket error occurred and the error was EINTR, retry the
call.  Otherwise, it was a legitimate error and the caller should
receive the exception.
</content>
</entry>
<entry>
<title>Only close sockets if they have been created. Reported by Blake Winton.</title>
<updated>2001-10-07T08:53:32Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-10-07T08:53:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=322c0d187d834013d70ffdb0f7f1b6f72eef6443'/>
<id>urn:sha1:322c0d187d834013d70ffdb0f7f1b6f72eef6443</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Resolve patch #449367.</title>
<updated>2001-08-18T09:20:23Z</updated>
<author>
<name>Greg Stein</name>
<email>gstein@lyra.org</email>
</author>
<published>2001-08-18T09:20:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=81937a4a12cfb316c196603c6bfd6bf0fdc73f41'/>
<id>urn:sha1:81937a4a12cfb316c196603c6bfd6bf0fdc73f41</id>
<content type='text'>
For the HTTPS class (when available), ensure that the x509 certificate data
gets passed through to the HTTPSConnection class. Create a new
HTTPS.__init__ to do this, and refactor the HTTP.__init__ into a new _setup
method for both init's to call.

Note: this is solved differently from the patch, which advocated a new
**x509 parameter on the base HTTPConnection class. But that would open
HTTPConnection to arbitrary (ignored) parameters, so was not as desirable.
</content>
</entry>
<entry>
<title>Initialize msg to avoid unbound locals.</title>
<updated>2001-07-31T08:40:21Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-07-31T08:40:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2ad2569c721c6179667a16d1a6f2df4f93606636'/>
<id>urn:sha1:2ad2569c721c6179667a16d1a6f2df4f93606636</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Untabify IPv6 changes.</title>
<updated>2001-07-26T13:37:33Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-07-26T13:37:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4eb5940a4d350d250ab4af08a8b5b6e553e1814d'/>
<id>urn:sha1:4eb5940a4d350d250ab4af08a8b5b6e553e1814d</id>
<content type='text'>
</content>
</entry>
</feed>
