Senthil Kumaran
168456df11
revert the changes done for issue14826 - quoting witin Request is not desirable.
14 years ago
Senthil Kumaran
45ce4dc73e
issue 14826 - Address the buildbot failure ( explanation msg164973)
14 years ago
Senthil Kumaran
b7451cecad
Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method.
Patch contributed by Stephen Thorne.
14 years ago
Georg Brandl
496660c56b
Partial backport of 612f34e31270: fix spacing error in exception message.
14 years ago
Georg Brandl
fcbdbf22e3
urllib.request: fix spacing errors in exception/warning messages.
14 years ago
Antoine Pitrou
de9ac6c2e5
Issue #14780 : urllib.request.urlopen() now has a `cadefault` argument to use the default certificate store.
Initial patch by James Oakley.
14 years ago
Senthil Kumaran
0ea91cb5c6
Issue12541 - Add UserWarning for unquoted realms
14 years ago
Senthil Kumaran
34f3fcc269
Issue #12541 : Be lenient with quotes around Realm field of HTTP Basic Authentation in urllib2.
G: changed Misc/NEWS
14 years ago
Senthil Kumaran
6b3434ae04
Explain the use of charset parameter with Content-Type header. Issue11082
14 years ago
Senthil Kumaran
38b968b913
deprecated the old urllib primitives in 3.3 urllib package - issue 10050
14 years ago
Senthil Kumaran
e24f96a059
Issue10050 - urlretrieve uses newer urlopen. reporthook of urlretrieve takes, block number, block read size, file_size
14 years ago
Senthil Kumaran
3800ea9f65
Fix Issue6631 - Disallow relative file paths in urllib urlopen
15 years ago
Senthil Kumaran
c5c5a14577
Fix Issue #13642 : Unquote before b64encoding user:password during Basic Authentication.
15 years ago
Senthil Kumaran
6497aa3e00
Issue13696 - Fix 302 Redirection for Relative urls.
15 years ago
Charles-François Natali
cf53ae2171
Issue #8035 : urllib: Fix a bug where the client could remain stuck after a
redirection or an error.
15 years ago
Senthil Kumaran
4c875a986f
'HTTPSHandler' and not the type.
15 years ago
Senthil Kumaran
0d54eb9bdc
Append HTTPSHandler to __all__ when it is available.
15 years ago
Senthil Kumaran
6c5bd40a3e
issue13287 - Define __all__ for urllib.request and urllib.error and expose only
the relevant module. Other cleanup improvements. Patch by flox.
15 years ago
Senthil Kumaran
ce260142c6
Fix issue 10817 - Fix urlretrieve function to raise ContentTooShortError
even when reporthook is None. Patch by Jyrki Pulliainen.
15 years ago
Senthil Kumaran
34d38dce11
urllib.request - syntax changes enhancing readability. By Éric Araujo
15 years ago
Senthil Kumaran
de49d64dbc
Fix closes issue 1673007 urllib.request to support HEAD requests with a new method arg.
15 years ago
Antoine Pitrou
6b4883dec0
PEP 3151 / issue #12555 : reworking the OS and IO exception hierarchy.
15 years ago
Senthil Kumaran
1b7da519b0
Issue13104 - Fix urllib.request.thishost() utility function.
15 years ago
Senthil Kumaran
89976f1cdc
Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)
15 years ago
Senthil Kumaran
45686b472b
Correcting issue 12576 fix, which resulted in buildbot failures.
15 years ago
Senthil Kumaran
1299a8f3b2
Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header.
15 years ago
Nadeem Vawda
08f5f7aa81
Issue #10883 : Fix socket leaks in urllib.request.
* ftpwrapper now uses reference counting to ensure that the underlying socket
is closed when the ftpwrapper object is no longer in use
* ftplib.FTP.ntransfercmd() now closes the socket if an error occurs
Initial patch by Victor Stinner.
15 years ago
Victor Stinner
a4c45d73cf
Issue #12133 : fix a ResourceWarning in urllib.request
AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if
its getresponse() method fails with a socket error. Patch written by Ezio
Melotti.
15 years ago
Senthil Kumaran
4de00a2e87
Fix closes Issue #11799 : urllib.request Authentication Handlers will raise a
ValueError when presented with an unsupported Authentication Scheme.
15 years ago
Senthil Kumaran
2643041970
Fix Issue11703 - urllib2.geturl() does not return correct url when the original url contains #fragment. Patch Contribution by Santoso Wijaya.
15 years ago
guido@google.com
a119df91f3
Issue 11662: Fix vulnerability in urllib/urllib2.
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)
15 years ago
Senthil Kumaran
2024acd36f
issue10883 - Silence some ftp related ResourceWarnings in test_urllib2net. Patch by Nadeem Vawda.
15 years ago
Senthil Kumaran
d91ffcafcb
Closes issue11563 - test_urllibnet ResourceWarning. Patch by Jeff McNeil.
15 years ago
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.
15 years ago
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.
15 years ago
Senthil Kumaran
2933312fe7
Fixed issue11082 - Reject str for POST data with a TypeError. Document the need to explicitly encode to bytes when using urlencode.
16 years ago
Georg Brandl
6153604bc7
Remove lots of spaces within exception message.
16 years ago
Senthil Kumaran
1e991f2de5
Fix some mistakes- Issue3243 (r87399) Correcting the operator precendence
problem with Content-Length header and uncommenting the test.
16 years ago
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.
........
16 years ago
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.
16 years ago
Georg Brandl
09a7df8301
#3243 follow-up: remove debugging print and fix docs; data is a bytes object.
16 years ago
Senthil Kumaran
7bc0d872dd
Issue3243 - Support iterable bodies in httplib. Patch contributions by Xuanji Li and Chris AtLee.
16 years ago
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.
........
16 years ago
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.
16 years ago
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
........
16 years ago
Senthil Kumaran
daa29d01b7
Fix Issue2244 - urllib unquotes user and password info multiple times - Patch by Theodore Turocy
16 years ago
Senthil Kumaran
383c32dd38
Issue10063 - file:// scheme will stop accessing remote hosts via ftp protocol
16 years ago
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.
16 years ago
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.
........
16 years ago
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.
16 years ago