Senthil Kumaran
d91ffcafcb
Closes issue11563 - test_urllibnet ResourceWarning. Patch by Jeff McNeil.
2011-03-19 17:25:27 +08:00
Ronald Oussoren
f2db4de4d8
Issue #11500 : Fixed a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list.
2011-03-14 18:46:50 -04:00
Ronald Oussoren
e72e161851
Issue #11500 : Fixed a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list
...
Patch by Scott Wilson.
2011-03-14 18:15:25 -04:00
Senthil Kumaran
a4d5b0cb62
Closes issue11563 test_urllibnet is triggering a ResourceWarning. Patch by Jeff McNeil.
2011-03-19 17:47:26 +08:00
Ronald Oussoren
ba3a978fc1
Issue #11500 : Fixed a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list.
2011-03-14 18:48:31 -04:00
Marc-André Lemburg
8f36af7a4c
Normalize the encoding names for Latin-1 and UTF-8 to
...
'latin-1' and 'utf-8'.
These are optimized in the Python Unicode implementation
to result in more direct processing, bypassing the codec
registry.
Also see issue11303.
2011-02-25 15:42:01 +00:00
Senthil Kumaran
2933312fe7
Fixed issue11082 - Reject str for POST data with a TypeError. Document the need to explicitly encode to bytes when using urlencode.
2011-02-11 11:25:47 +00:00
Georg Brandl
6153604bc7
Remove lots of spaces within exception message.
2011-02-03 07:46:41 +00:00
Senthil Kumaran
1e991f2de5
Fix some mistakes- Issue3243 (r87399) Correcting the operator precendence
...
problem with Content-Length header and uncommenting the test.
2010-12-24 04:03:59 +00:00
R. David Murray
46c6fd605e
Merged revisions 87448 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87448 | r.david.murray | 2010-12-23 14:44:49 -0500 (Thu, 23 Dec 2010) | 4 lines
#4496 : remove misleading comment and note that self.handlers is obsolete.
self.handlers is still used in one urllib2 test, but not by the code iteslf.
........
2010-12-23 19:47:37 +00:00
R. David Murray
25b8cca6e8
#4496 : remove misleading comment and note that self.handlers is obsolete.
...
self.handlers is still used in one urllib2 test, but not by the code iteslf.
2010-12-23 19:44:49 +00:00
Georg Brandl
09a7df8301
#3243 follow-up: remove debugging print and fix docs; data is a bytes object.
2010-12-19 12:33:52 +00:00
Senthil Kumaran
7bc0d872dd
Issue3243 - Support iterable bodies in httplib. Patch contributions by Xuanji Li and Chris AtLee.
2010-12-19 10:49:52 +00:00
Senthil Kumaran
d17ebdba4a
Merged revisions 86676 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86676 | senthil.kumaran | 2010-11-22 12:48:26 +0800 (Mon, 22 Nov 2010) | 4 lines
Fix Issue4493 - urllib2 adds '/' to the path component of url, when it does not
starts with one. This behavior is exhibited by browser and other clients.
........
2010-11-22 04:53:57 +00:00
Senthil Kumaran
c295862ce0
Fix Issue4493 - urllib2 adds '/' to the path component of url, when it does not
...
starts with one. This behavior is exhibited by browser and other clients.
2010-11-22 04:48:26 +00:00
Senthil Kumaran
723a7a6d93
Merged revisions 86520 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86520 | senthil.kumaran | 2010-11-18 23:36:41 +0800 (Thu, 18 Nov 2010) | 3 lines
Fix Issue2244 - urllib unquotes user and password info multiple times - Patch by Theodore Turocy
........
2010-11-18 16:44:38 +00:00
Senthil Kumaran
daa29d01b7
Fix Issue2244 - urllib unquotes user and password info multiple times - Patch by Theodore Turocy
2010-11-18 15:36:41 +00:00
Senthil Kumaran
383c32dd38
Issue10063 - file:// scheme will stop accessing remote hosts via ftp protocol
2010-10-14 11:57:35 +00:00
Antoine Pitrou
803e6d670c
Issue #9003 : http.client.HTTPSConnection, urllib.request.HTTPSHandler and
...
urllib.request.urlopen now take optional arguments to allow for
server certificate checking, as recommended in public uses of HTTPS.
2010-10-13 10:36:15 +00:00
Senthil Kumaran
603ca41e27
Merged revisions 85025 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85025 | senthil.kumaran | 2010-09-27 06:56:03 +0530 (Mon, 27 Sep 2010) | 6 lines
Fix Issue1595365 - Adding the req.headers after the un-redirect headers have
been added. This helps in accidental overwritting of User-Agent header to
default value. To preserve the old behavior, only headers not in unredirected
headers will be updated.
........
2010-09-27 01:28:10 +00:00
Senthil Kumaran
42ef4b1f4c
Fix Issue1595365 - Adding the req.headers after the un-redirect headers have
...
been added. This helps in accidental overwritting of User-Agent header to
default value. To preserve the old behavior, only headers not in unredirected
headers will be updated.
2010-09-27 01:26:03 +00:00
Senthil Kumaran
06509381a8
Merged revisions 84323 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84323 | senthil.kumaran | 2010-08-26 11:46:22 +0530 (Thu, 26 Aug 2010) | 3 lines
Fix Issue8797 - Reset the basic auth retry count when response code is not 401.
........
2010-08-26 06:24:04 +00:00
Senthil Kumaran
4bb5c273c6
Fix Issue8797 - Reset the basic auth retry count when response code is not 401.
2010-08-26 06:16:22 +00:00
Senthil Kumaran
cb39d6c4e2
Merged revisions 84210 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84210 | senthil.kumaran | 2010-08-19 23:20:31 +0530 (Thu, 19 Aug 2010) | 3 lines
Fix Issue9639 - reset the retry count on successful auth.
........
2010-08-19 17:54:33 +00:00
Senthil Kumaran
67a62a41b8
Fix Issue9639 - reset the retry count on successful auth.
2010-08-19 17:50:31 +00:00
Florent Xicluna
37ddbb8abd
Merged revisions 76719,81270-81272,83294,83319,84038-84039 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76719 | antoine.pitrou | 2009-12-08 20:38:17 +0100 (mar., 08 déc. 2009) | 9 lines
Merged revisions 76718 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76718 | antoine.pitrou | 2009-12-08 20:35:12 +0100 (mar., 08 déc. 2009) | 3 lines
Fix transient refleaks in test_urllib. Thanks to Florent Xicluna.
........
................
r81270 | florent.xicluna | 2010-05-17 19:24:07 +0200 (lun., 17 mai 2010) | 9 lines
Merged revision 81259 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81259 | florent.xicluna | 2010-05-17 12:39:07 +0200 (lun, 17 mai 2010) | 2 lines
Slight style cleanup.
........
................
r81271 | florent.xicluna | 2010-05-17 19:33:07 +0200 (lun., 17 mai 2010) | 11 lines
Issue #1285086 : Speed up urllib.parse functions: quote, quote_from_bytes, unquote, unquote_to_bytes.
Recorded merge of revisions 81265 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81265 | florent.xicluna | 2010-05-17 15:35:09 +0200 (lun, 17 mai 2010) | 2 lines
Issue #1285086 : Speed up urllib.quote and urllib.unquote for simple cases.
........
................
r81272 | florent.xicluna | 2010-05-17 20:01:22 +0200 (lun., 17 mai 2010) | 2 lines
Inadvertently removed part of the comment in r81271.
................
r83294 | senthil.kumaran | 2010-07-30 21:34:36 +0200 (ven., 30 juil. 2010) | 2 lines
Fix issue9301 - handle unquote({}) kind of case.
................
r83319 | florent.xicluna | 2010-07-31 10:56:55 +0200 (sam., 31 juil. 2010) | 2 lines
Fix an oversight in r83294. unquote() should reject bytes. Issue #9301 .
................
r84038 | florent.xicluna | 2010-08-14 20:30:35 +0200 (sam., 14 août 2010) | 1 line
Silence the BytesWarning, due to patch r83294 for #9301
................
r84039 | florent.xicluna | 2010-08-14 22:51:58 +0200 (sam., 14 août 2010) | 1 line
Silence BytesWarning while testing exception
................
2010-08-14 21:06:29 +00:00
Senthil Kumaran
4c88db77a0
Merged revisions 83818 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83818 | senthil.kumaran | 2010-08-08 16:57:53 +0530 (Sun, 08 Aug 2010) | 4 lines
Fix Issue8280 - urllib2's Request method will remove fragements in the url.
This is how it should work,wget and curl work like this way too. Old behavior was wrong.
........
2010-08-08 11:30:58 +00:00
Senthil Kumaran
d95cc75483
Fix Issue8280 - urllib2's Request method will remove fragements in the url.
...
This is how it should work,wget and curl work like this way too. Old behavior was wrong.
2010-08-08 11:27:53 +00:00
Senthil Kumaran
fe2f4ecc14
Merged revisions 83729 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83729 | senthil.kumaran | 2010-08-04 23:16:23 +0530 (Wed, 04 Aug 2010) | 3 lines
Sending the auth info as string. Fix BytesWarning: str() on a bytes instance Exception on buildbot.
........
2010-08-04 17:49:13 +00:00
Senthil Kumaran
5626eec0c2
Sending the auth info as string. Fix BytesWarning: str() on a bytes instance Exception on buildbot.
2010-08-04 17:46:23 +00:00
Senthil Kumaran
afef78f832
Merged revisions 83415 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83415 | senthil.kumaran | 2010-08-01 23:23:37 +0530 (Sun, 01 Aug 2010) | 3 lines
Fix Issue8123 - TypeError in urllib when trying to use HTTP authentication
........
2010-08-01 17:55:50 +00:00
Senthil Kumaran
de0eb249c6
Fix Issue8123 - TypeError in urllib when trying to use HTTP authentication
2010-08-01 17:53:37 +00:00
Senthil Kumaran
1ea57a6c5f
Merged revisions 82895 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82895 | senthil.kumaran | 2010-07-15 01:40:52 +0530 (Thu, 15 Jul 2010) | 3 lines
Fix a mistake, https proxy shoud be https://
........
2010-07-14 20:13:28 +00:00
Senthil Kumaran
04f31b8ae6
Fix a mistake, https proxy shoud be https://
2010-07-14 20:10:52 +00:00
Senthil Kumaran
99f9bd16c9
Merged revisions 82890 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82890 | senthil.kumaran | 2010-07-15 00:45:23 +0530 (Thu, 15 Jul 2010) | 3 lines
Fix: Issue6853 - Get HTTPS system proxy in Windows.
........
2010-07-14 19:20:43 +00:00
Senthil Kumaran
e4004a653c
Fix: Issue6853 - Get HTTPS system proxy in Windows.
2010-07-14 19:15:23 +00:00
Senthil Kumaran
3402414b85
Merged revisions 82780 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82780 | senthil.kumaran | 2010-07-11 08:42:43 +0530 (Sun, 11 Jul 2010) | 3 lines
Stricter verification for file based url scheme and reliance on ftp protocol.
........
2010-07-11 03:15:25 +00:00
Senthil Kumaran
2ef16328e8
Stricter verification for file based url scheme and reliance on ftp protocol.
2010-07-11 03:12:43 +00:00
Ronald Oussoren
ddb62e9f4c
Merged revisions 82286 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82286 | ronald.oussoren | 2010-06-27 16:26:30 +0200 (Sun, 27 Jun 2010) | 11 lines
Merged revisions 82284 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82284 | ronald.oussoren | 2010-06-27 15:59:39 +0200 (Sun, 27 Jun 2010) | 4 lines
Fix for Issue8883: without this patch test_urllib will fail
when there is a bare IP address in the "Bypass proxy settings
for these Hosts & Domains" list on MacOSX.
........
................
2010-06-27 14:27:27 +00:00
Ronald Oussoren
ab90f8e6a1
Merged revisions 82284 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82284 | ronald.oussoren | 2010-06-27 15:59:39 +0200 (Sun, 27 Jun 2010) | 4 lines
Fix for Issue8883: without this patch test_urllib will fail
when there is a bare IP address in the "Bypass proxy settings
for these Hosts & Domains" list on MacOSX.
........
2010-06-27 14:26:30 +00:00
Senthil Kumaran
b4d1c2c861
Merged revisions 82068 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82068 | senthil.kumaran | 2010-06-18 20:38:18 +0530 (Fri, 18 Jun 2010) | 3 lines
Fix Issue1368368 - prompt_user_passwd() in FancyURLopener masks 401 Unauthorized error page
........
2010-06-18 15:12:48 +00:00
Senthil Kumaran
80f1b05971
Fix Issue1368368 - prompt_user_passwd() in FancyURLopener masks 401 Unauthorized error page
2010-06-18 15:08:18 +00:00
Senthil Kumaran
efafdc7d10
Merged revisions 81638 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r81638 | senthil.kumaran | 2010-06-01 18:23:48 +0530 (Tue, 01 Jun 2010) | 9 lines
Merged revisions 81636 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81636 | senthil.kumaran | 2010-06-01 18:10:07 +0530 (Tue, 01 Jun 2010) | 3 lines
Fix Issue8797 - urllib2 basic authentication fix for wrong passwords. It fails after 5 retries.
........
................
2010-06-01 12:56:17 +00:00
Senthil Kumaran
f4998acb5a
Merged revisions 81636 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81636 | senthil.kumaran | 2010-06-01 18:10:07 +0530 (Tue, 01 Jun 2010) | 3 lines
Fix Issue8797 - urllib2 basic authentication fix for wrong passwords. It fails after 5 retries.
........
2010-06-01 12:53:48 +00:00
Florent Xicluna
757445bee0
Merged revision 81259 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81259 | florent.xicluna | 2010-05-17 12:39:07 +0200 (lun, 17 mai 2010) | 2 lines
Slight style cleanup.
........
2010-05-17 17:24:07 +00:00
Mark Dickinson
b7d943625c
Merged revisions 81024 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r81024 | mark.dickinson | 2010-05-09 13:16:29 +0100 (Sun, 09 May 2010) | 1 line
Fix test_urllib2 failure on OS X.
........
2010-05-09 12:17:58 +00:00
Mark Dickinson
c3f45c25de
Fix test_urllib2 failure on OS X.
2010-05-09 12:16:29 +00:00
Senthil Kumaran
1e72bd3c08
Merged revisions 80959 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80959 | senthil.kumaran | 2010-05-08 10:42:05 +0530 (Sat, 08 May 2010) | 9 lines
Merged revisions 80957 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80957 | senthil.kumaran | 2010-05-08 10:30:11 +0530 (Sat, 08 May 2010) | 2 lines
Fixing the errors trigerred in test_urllib2net. Related to issue8656.
........
................
2010-05-08 05:14:29 +00:00
Senthil Kumaran
06f5a53a7a
Merged revisions 80957 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80957 | senthil.kumaran | 2010-05-08 10:30:11 +0530 (Sat, 08 May 2010) | 2 lines
Fixing the errors trigerred in test_urllib2net. Related to issue8656.
........
2010-05-08 05:12:05 +00:00
Senthil Kumaran
51964772b7
Merged revisions 80955 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80955 | senthil.kumaran | 2010-05-08 08:59:09 +0530 (Sat, 08 May 2010) | 9 lines
Merged revisions 80953 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80953 | senthil.kumaran | 2010-05-08 08:41:50 +0530 (Sat, 08 May 2010) | 3 lines
Fix Issue8656 - urllib2 mangles file://-scheme URLs
........
................
2010-05-08 03:31:56 +00:00
Senthil Kumaran
4fbed10455
Merged revisions 80953 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80953 | senthil.kumaran | 2010-05-08 08:41:50 +0530 (Sat, 08 May 2010) | 3 lines
Fix Issue8656 - urllib2 mangles file://-scheme URLs
........
2010-05-08 03:29:09 +00:00
Ronald Oussoren
94f25283c9
Remove traces of MacOS9 support.
...
Fix for issue #7908
2010-05-05 19:11:21 +00:00
Senthil Kumaran
5a3bc6533c
Merged revisions 80677 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80677 | senthil.kumaran | 2010-05-01 13:59:18 +0530 (Sat, 01 May 2010) | 9 lines
Merged revisions 80675 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80675 | senthil.kumaran | 2010-05-01 13:31:56 +0530 (Sat, 01 May 2010) | 3 lines
Fix issue8582: urllib.urlretrieve fails with ValueError: Invalid format string
........
................
2010-05-01 08:32:23 +00:00
Senthil Kumaran
f6c456d323
Merged revisions 80675 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80675 | senthil.kumaran | 2010-05-01 13:31:56 +0530 (Sat, 01 May 2010) | 3 lines
Fix issue8582: urllib.urlretrieve fails with ValueError: Invalid format string
........
2010-05-01 08:29:18 +00:00
Ronald Oussoren
218cc58d08
Merged revisions 80198 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r80198 | ronald.oussoren | 2010-04-18 22:46:11 +0200 (Sun, 18 Apr 2010) | 4 lines
For for issue #7154 : Port the code that uses
the SystemConfiguration framework to detect the
proxy settings on OSX from the trunk to python 3.2
........
2010-04-18 20:49:34 +00:00
Ronald Oussoren
8415120af3
For for issue #7154 : Port the code that uses
...
the SystemConfiguration framework to detect the
proxy settings on OSX from the trunk to python 3.2
2010-04-18 20:46:11 +00:00
Senthil Kumaran
056c060589
Reverting the change made in r78434
2010-03-07 04:13:48 +00:00
Senthil Kumaran
57de4c45ff
Reverting the changes made in r78433.
2010-03-07 04:12:02 +00:00
Senthil Kumaran
73ad434945
Merged revisions 78433 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r78433 | senthil.kumaran | 2010-02-25 02:33:37 +0530 (Thu, 25 Feb 2010) | 10 lines
Merged revisions 78431 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78431 | senthil.kumaran | 2010-02-25 02:25:31 +0530 (Thu, 25 Feb 2010) | 4 lines
Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to
a existing req object already having data.
........
................
2010-02-24 21:04:55 +00:00
Senthil Kumaran
6d726c3a2f
Merged revisions 78431 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78431 | senthil.kumaran | 2010-02-25 02:25:31 +0530 (Thu, 25 Feb 2010) | 4 lines
Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to
a existing req object already having data.
........
2010-02-24 21:03:37 +00:00
Senthil Kumaran
efcd883735
Merged revisions 78426 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r78426 | senthil.kumaran | 2010-02-24 22:23:16 +0530 (Wed, 24 Feb 2010) | 9 lines
Merged revisions 78422 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78422 | senthil.kumaran | 2010-02-24 22:15:46 +0530 (Wed, 24 Feb 2010) | 2 lines
Fix for Issue3819 - urllib2 sends Basic auth across redirects
........
................
2010-02-24 16:56:20 +00:00
Senthil Kumaran
ca2fc9eb1f
Merged revisions 78422 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78422 | senthil.kumaran | 2010-02-24 22:15:46 +0530 (Wed, 24 Feb 2010) | 2 lines
Fix for Issue3819 - urllib2 sends Basic auth across redirects
........
2010-02-24 16:53:16 +00:00
Senthil Kumaran
0e7e9aee59
Merged revisions 78270 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r78270 | senthil.kumaran | 2010-02-21 03:49:04 +0530 (Sun, 21 Feb 2010) | 4 lines
Merged revisions 78268 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
2010-02-20 22:30:21 +00:00
Senthil Kumaran
734f05925e
Merged revisions 78268 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
2010-02-20 22:19:04 +00:00
Senthil Kumaran
88a495d223
Merged revisions 77060 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77060 | senthil.kumaran | 2009-12-27 15:43:39 +0530 (Sun, 27 Dec 2009) | 10 lines
Merged revisions 77058 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77058 | senthil.kumaran | 2009-12-27 14:41:09 +0530 (Sun, 27 Dec 2009) | 4 lines
Fix for issue5625 - test_urllib2 fails - urlopen error file not on local host.
This is on hosts with multiple ip addresses.
........
................
2009-12-27 10:15:45 +00:00
Senthil Kumaran
99b2c8f811
Merged revisions 77058 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77058 | senthil.kumaran | 2009-12-27 14:41:09 +0530 (Sun, 27 Dec 2009) | 4 lines
Fix for issue5625 - test_urllib2 fails - urlopen error file not on local host.
This is on hosts with multiple ip addresses.
........
2009-12-27 10:13:39 +00:00
Senthil Kumaran
4b9fbebaee
Merged revisions 76910 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76910 | senthil.kumaran | 2009-12-20 12:40:31 +0530 (Sun, 20 Dec 2009) | 10 lines
Merged revisions 76908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76908 | senthil.kumaran | 2009-12-20 11:35:13 +0530 (Sun, 20 Dec 2009) | 4 lines
Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth
Refactored HTTPHandler tests and added testcase for proxy authorization.
........
................
2009-12-20 07:18:22 +00:00
Senthil Kumaran
47fff87027
Merged revisions 76908 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76908 | senthil.kumaran | 2009-12-20 11:35:13 +0530 (Sun, 20 Dec 2009) | 4 lines
Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth
Refactored HTTPHandler tests and added testcase for proxy authorization.
........
2009-12-20 07:10:31 +00:00
Philip Jenvey
cb134d7d88
Recorded merge of revisions 76642 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76642 | philip.jenvey | 2009-12-02 18:40:13 -0800 (Wed, 02 Dec 2009) | 1 line
actually close files
........
2009-12-03 02:45:01 +00:00
Senthil Kumaran
b58474f8c7
Merged revisions 76290 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76290 | senthil.kumaran | 2009-11-15 14:13:45 +0530 (Sun, 15 Nov 2009) | 10 lines
Merged revisions 76288 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76288 | senthil.kumaran | 2009-11-15 14:06:20 +0530 (Sun, 15 Nov 2009) | 3 lines
Fix for Issue4683 - urllib2.HTTPDigestAuthHandler fails on third hostname?.
Resolution: Reset the nonce value for each unique nonce (as per RFC 2617)
........
................
2009-11-15 08:45:27 +00:00
Senthil Kumaran
4c7eaee5db
Merged revisions 76288 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76288 | senthil.kumaran | 2009-11-15 14:06:20 +0530 (Sun, 15 Nov 2009) | 3 lines
Fix for Issue4683 - urllib2.HTTPDigestAuthHandler fails on third hostname?.
Resolution: Reset the nonce value for each unique nonce (as per RFC 2617)
........
2009-11-15 08:43:45 +00:00
Senthil Kumaran
04454cd60d
Merged revisions 76284 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76284 | senthil.kumaran | 2009-11-15 11:50:55 +0530 (Sun, 15 Nov 2009) | 9 lines
Merged revisions 76282 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76282 | senthil.kumaran | 2009-11-15 11:40:30 +0530 (Sun, 15 Nov 2009) | 3 lines
Addition of some details in the code comments.
........
................
2009-11-15 07:27:02 +00:00
Senthil Kumaran
1107c5d7d1
Merged revisions 76282 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76282 | senthil.kumaran | 2009-11-15 11:40:30 +0530 (Sun, 15 Nov 2009) | 3 lines
Addition of some details in the code comments.
........
2009-11-15 06:20:55 +00:00
Senthil Kumaran
1130163dc1
Merged revisions 75334 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75334 | senthil.kumaran | 2009-10-11 10:28:55 +0530 (Sun, 11 Oct 2009) | 9 lines
Merged revisions 75333 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75333 | senthil.kumaran | 2009-10-11 07:30:07 +0530 (Sun, 11 Oct 2009) | 3 lines
Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment
........
................
2009-10-11 06:07:46 +00:00
Senthil Kumaran
7bb0497336
Merged revisions 75333 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75333 | senthil.kumaran | 2009-10-11 07:30:07 +0530 (Sun, 11 Oct 2009) | 3 lines
Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment
........
2009-10-11 04:58:55 +00:00
Senthil Kumaran
0ac1f83079
Backport the changes made in revision 74198, fixing the issue 1424152
2009-07-26 12:39:47 +00:00
Senthil Kumaran
97f0c6be46
Fixed Issue1424152 in Py3k: urllib2 fails with HTTPS over Proxy.
2009-07-25 04:24:38 +00:00
Senthil Kumaran
e9da06f574
Fix for issue5102, timeout value propages between redirects, proxy, digest and
...
auth handlers. Fixed tests to reflect the same.
2009-07-19 04:20:12 +00:00
Senthil Kumaran
fb8cc2f5a4
Fix for issue5102, timeout value propages between redirects, proxy, digest and
...
auth handlers. Fixed tests to reflect the same.
2009-07-19 02:44:19 +00:00
Georg Brandl
706824f19f
More codestring -> codebytes.
2009-06-04 09:42:55 +00:00
Senthil Kumaran
690ce9b353
Fix for issue1153027, making Py3k changes similar to fix in issue918368.
...
This will address:
a) urllib/ in py3k,
b) urllib in py2x is addressed by issue918368.
c) urllib2 in py2x was already addressed in Revision 43132.
2009-05-05 18:41:13 +00:00
Senthil Kumaran
4947606ecc
Fix for Issue1648102, based on the MSDN spec: If this parameter specifies the
...
"<local>" macro as the only entry, this function bypasses any host name that
does not contain a period.
2009-05-01 06:00:23 +00:00
Georg Brandl
4ed72acd68
#5624 : _winreg is winreg in Python 3.
2009-04-01 04:28:33 +00:00
Jeremy Hylton
2bdb576e70
Make urllib use HTTP/1.1. It seems to work now, but hasn't been
...
carefully tested.
2009-03-31 16:37:16 +00:00
Jeremy Hylton
6c5e28c383
Simplify the Request class. The basic components of the parsed
...
Request are now available as public attributes, e.g. full_url and
host. The accessor methods are deprecated. The implementation
replace the complicated __getattr__ machinery with a _parse() method.
The response from an HTTP request is now an HTTPResponse instance
instead of an addinfourl() wrapper instance. The wrapper provided
minimal extract functionality and was undocumented. The API of
addinfourl() was preserved, except for close hooks, by adding a few
methods and public attributes to the HTTPResponse class.
2009-03-31 14:35:53 +00:00
Benjamin Peterson
5f28b7b797
Merged revisions 70518,70521,70590,70594-70595 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70518 | matthias.klose | 2009-03-22 08:08:22 -0500 (Sun, 22 Mar 2009) | 2 lines
- Fix comment macro in python.man
........
r70521 | benjamin.peterson | 2009-03-22 12:45:11 -0500 (Sun, 22 Mar 2009) | 1 line
close the file even if an exception occurs #5536
........
r70590 | skip.montanaro | 2009-03-24 19:52:11 -0500 (Tue, 24 Mar 2009) | 1 line
clarify the type of data returned
........
r70594 | marc-andre.lemburg | 2009-03-25 14:44:58 -0500 (Wed, 25 Mar 2009) | 9 lines
Remove the sys.version_info shortcut, since they cause the APIs
to return different information than the _sys_version() output
used in previous Python versions.
This also fixes issue5561: platform.python_version_tuple returns tuple of ints, should be strings
Added more tests for the various platform functions.
........
r70595 | marc-andre.lemburg | 2009-03-25 14:45:33 -0500 (Wed, 25 Mar 2009) | 3 lines
News item for the platform.py fix (r70594).
........
2009-03-26 21:49:58 +00:00
Antoine Pitrou
b353c12a9c
Issue #4631 : Fix urlopen() result when an HTTP response uses chunked encoding.
2009-02-11 00:39:14 +00:00
Benjamin Peterson
9bc9351c04
Merged revisions 66508,66510,66512-66513,66523-66526,66529-66530,66532,66535,66538,66544,66546 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66508 | benjamin.peterson | 2008-09-18 18:20:28 -0500 (Thu, 18 Sep 2008) | 1 line
tabify
........
r66510 | josiah.carlson | 2008-09-18 21:07:22 -0500 (Thu, 18 Sep 2008) | 2 lines
Fix for documentation bug. Fixes issue 3904.
........
r66512 | raymond.hettinger | 2008-09-19 03:07:48 -0500 (Fri, 19 Sep 2008) | 1 line
Improve docs for super().
........
r66513 | lars.gustaebel | 2008-09-19 07:39:23 -0500 (Fri, 19 Sep 2008) | 2 lines
Correct information about the tarfile module.
........
r66523 | georg.brandl | 2008-09-21 02:14:44 -0500 (Sun, 21 Sep 2008) | 2 lines
#3852 : fix some select.kqueue and kevent docs.
........
r66524 | georg.brandl | 2008-09-21 02:15:59 -0500 (Sun, 21 Sep 2008) | 2 lines
#3912 : document default for *places* arg.
........
r66525 | georg.brandl | 2008-09-21 02:17:00 -0500 (Sun, 21 Sep 2008) | 2 lines
#3916 : fixes for docs wrt. Windows directory layout
........
r66526 | georg.brandl | 2008-09-21 02:18:28 -0500 (Sun, 21 Sep 2008) | 2 lines
#3914 : add //= to the augmented assign operators.
........
r66529 | georg.brandl | 2008-09-21 02:24:11 -0500 (Sun, 21 Sep 2008) | 2 lines
#3901 : bsddb fix.
........
r66530 | georg.brandl | 2008-09-21 02:31:52 -0500 (Sun, 21 Sep 2008) | 2 lines
#3897 : _collections now has an underscore.
........
r66532 | georg.brandl | 2008-09-21 02:36:22 -0500 (Sun, 21 Sep 2008) | 2 lines
Update readme and Makefile (web builder doesn't exist).
........
r66535 | georg.brandl | 2008-09-21 03:03:21 -0500 (Sun, 21 Sep 2008) | 2 lines
#3918 : note that uniform() args can be swapped.
........
r66538 | georg.brandl | 2008-09-21 05:03:39 -0500 (Sun, 21 Sep 2008) | 2 lines
Add "dist" target.
........
r66544 | benjamin.peterson | 2008-09-21 16:27:51 -0500 (Sun, 21 Sep 2008) | 4 lines
#3879 fix a regression in urllib.getproxies_environment
reviewers: Benjamin, Georg
........
r66546 | georg.brandl | 2008-09-21 17:31:59 -0500 (Sun, 21 Sep 2008) | 2 lines
Fill out download page.
........
2008-09-22 22:10:59 +00:00
Antoine Pitrou
fd036451bf
#2834 : Change re module semantics, so that str and bytes mixing is forbidden,
...
and str (unicode) patterns get full unicode matching by default. The re.ASCII
flag is also introduced to ask for ASCII matching instead.
2008-08-19 17:56:33 +00:00
Facundo Batista
f24802c006
Issue 2464. Supports a malformation in the URL received
...
in a redirect.
2008-08-17 03:36:03 +00:00
Facundo Batista
72dc1eadd9
Issue #2776 : fixed small issue when handling an URL with double slash
...
after a 302 response in the case of not going through a proxy.
2008-08-16 14:44:32 +00:00
Georg Brandl
13e89463e3
Fix a few urllib bugs (NameErrors).
...
Also directly import names from the various urllib submodules,
saves attribute lookup and is much cleaner.
2008-07-01 19:56:00 +00:00
Georg Brandl
029986af24
Fix old urllib/urllib2/urlparse usage.
2008-06-23 11:44:14 +00:00
Amaury Forgeot d'Arc
c80902eac8
follow-up of r64385: rename urllib.quote in nturl2path
...
and remove assertions & debugger when ssl is not present
2008-06-18 22:38:24 +00:00
Jeremy Hylton
1afc169616
Make a new urllib package .
...
It consists of code from urllib, urllib2, urlparse, and robotparser.
The old modules have all been removed. The new package has five
submodules: urllib.parse, urllib.request, urllib.response,
urllib.error, and urllib.robotparser. The urllib.request.urlopen()
function uses the url opener from urllib2.
Note that the unittests have not been renamed for the
beta, but they will be renamed in the future.
Joint work with Senthil Kumaran.
2008-06-18 20:49:58 +00:00