<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/urllib2.py, branch 2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/urllib2.py?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/urllib2.py?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-07-12T07:35:35Z</updated>
<entry>
<title>Patch #549151, rev4: redirect POST on 301 also.</title>
<updated>2003-07-12T07:35:35Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-07-12T07:35:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8a5ffac3c87cbdb7569715145937e13dea21d9c5'/>
<id>urn:sha1:8a5ffac3c87cbdb7569715145937e13dea21d9c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #754340: Fix typo in redirect_request.</title>
<updated>2003-06-14T05:52:27Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-06-14T05:52:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7594a1c56e986f2a9d7f80ac54d650a6b301895f'/>
<id>urn:sha1:7594a1c56e986f2a9d7f80ac54d650a6b301895f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Backport Jeremy's fix: req.method should be req.get_method.</title>
<updated>2003-05-22T17:30:48Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-05-22T17:30:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a74d9fe777e04bd5a493cbe615b353b70079b73b'/>
<id>urn:sha1:a74d9fe777e04bd5a493cbe615b353b70079b73b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Backport better fix for newurl as suggested by Jim Jewett in SF bug</title>
<updated>2003-05-05T04:10:40Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-05-05T04:10:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8a625c9b2cbf78e7e5c9aed98e56fb7f245c08cc'/>
<id>urn:sha1:8a625c9b2cbf78e7e5c9aed98e56fb7f245c08cc</id>
<content type='text'>
#730963.
</content>
</entry>
<entry>
<title>Backport fix for SF #723831: urlopen() raises URLError.</title>
<updated>2003-05-05T03:18:41Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-05-05T03:18:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1f5df13b1cedb23f989fec71331153fb1ab98a31'/>
<id>urn:sha1:1f5df13b1cedb23f989fec71331153fb1ab98a31</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Backport 1.157 and 1.39</title>
<updated>2003-04-25T05:33:07Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-04-25T05:33:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4c7188620a5285d5dd9e3650233cbd089df4a42e'/>
<id>urn:sha1:4c7188620a5285d5dd9e3650233cbd089df4a42e</id>
<content type='text'>
SF Patch 549151: urllib2 POSTs on redirect
(contributed by John J Lee)
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2002-10-07T01:18:17Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-10-07T01:18:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e40add41ccfb6560756051f79339286cd84180bb'/>
<id>urn:sha1:e40add41ccfb6560756051f79339286cd84180bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>backport jhylton's checkin of</title>
<updated>2002-09-25T10:32:49Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-09-25T10:32:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=916675bf101bc908bc445781ff6863a13758bd67'/>
<id>urn:sha1:916675bf101bc908bc445781ff6863a13758bd67</id>
<content type='text'>
    revision 1.32 of urllib2.py

Fix from SF patch #527518: proxy config with user+pass authentication.

Bug fix candidate.
</content>
</entry>
<entry>
<title>backport gward's checkin of</title>
<updated>2002-02-22T13:26:54Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-02-22T13:26:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c22d45922f899572daea762d9face789a99f1645'/>
<id>urn:sha1:c22d45922f899572daea762d9face789a99f1645</id>
<content type='text'>
    revision 1.25 of urllib2.py

Fix bug #511786 (2.2.1 candidate): ensure that custom-supplied headers
are preserved for redirected requests.
</content>
</entry>
<entry>
<title>Fix SF bug 468948 &amp; 451295: urllib2 authentication problems</title>
<updated>2001-11-09T16:46:51Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-11-09T16:46:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=52a17becbcc8bba8d4750926c58f6ac6e41464b7'/>
<id>urn:sha1:52a17becbcc8bba8d4750926c58f6ac6e41464b7</id>
<content type='text'>
Fix contributed by Jeffrey C. Ollie.

I haven't tested the fix because the situation is non-trivial to
reproduce.

The basic solution is to get rid of the __current_realm attribute of
authentication handlers.  Instead, prevent infinite retries by
checking for the presence of an Authenticate: header in the request
object that exactly matches the Authenticate: header that would be
added.

The problem prevent authentication from working correctly in the
presence of retries.

Ollie mentioned that digest authentication has the same problem and I
applied the same solution there.
</content>
</entry>
</feed>
