Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Issue #2202: Fix UnboundLocalError in ↵ | Berker Peksag | 2016-03-06 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AbstractDigestAuthHandler.get_algorithm_impls Raise ValueError if algorithm is not MD5 or SHA. Initial patch by Mathieu Dupuy. | |||||
* | | | | Issue #25985: sys.version_info is now used instead of sys.version | Serhiy Storchaka | 2016-02-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | to format short Python version. | |||||
* | | | | Issue #12923: Merge FancyURLopener fix from 3.5 | Martin Panter | 2016-02-06 | 1 | -11/+13 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue #12923: Reset FancyURLopener's redirect counter even on exception | Martin Panter | 2016-02-04 | 1 | -11/+13 | |
| | | | | | | | | | | | | | | | | Based on patches by Brian Brazil and Daniel Rocco. | |||||
* | | | | Issue #25899: Converted non-ASCII characters in docstrings and manpage | Serhiy Storchaka | 2015-12-18 | 1 | -3/+3 | |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | to ASCII replacements. Removed UTF-8 BOM from Misc/NEWS. Original patch by Chris Angelico. | |||||
* | | | | Issue #25576: Apply fix to new urlopen() doc string | Martin Panter | 2015-11-24 | 1 | -7/+2 | |
| | | | | ||||||
* | | | | Add missing docstring | Raymond Hettinger | 2015-08-18 | 1 | -0/+65 | |
|/ / / | ||||||
* | | | Issue #24021: docstring for urllib.urlcleanup. | Robert Collins | 2015-08-04 | 1 | -0/+1 | |
|\ \ \ | |/ / | | | | | | | Patch from Daniel Andrade Groppe and Peter Lovett | |||||
| * | | Issue #24021: docstring for urllib.urlcleanup. | Robert Collins | 2015-08-04 | 1 | -0/+1 | |
| | | | | | | | | | | | | Patch from Daniel Andrade Groppe and Peter Lovett | |||||
* | | | #7159: generalize urllib prior auth support. | R David Murray | 2015-04-16 | 1 | -18/+60 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix is a superset of the functionality introduced by the issue #19494 enhancement, and supersedes that fix. Instead of a new handler, we have a new password manager that tracks whether we should send the auth for a given uri. This allows us to say "always send", satisfying #19494, or track that we've succeeded in auth and send the creds right away on every *subsequent* request. The support for using the password manager is added to AbstractBasicAuth, which means the proxy handler also now can handle prior auth if passed the new password manager. Patch by Akshit Khurana, docs mostly by me. | |||||
* | | | (Merge 3.4) Issue #23881: urllib.request.ftpwrapper constructor now closes the | Victor Stinner | 2015-04-07 | 1 | -1/+5 | |
|\ \ \ | |/ / | | | | | | | socket if the FTP connection failed to fix a ResourceWarning. | |||||
| * | | Issue #23881: urllib.request.ftpwrapper constructor now closes the socket if | Victor Stinner | 2015-04-07 | 1 | -1/+5 | |
| | | | | | | | | | | | | the FTP connection failed to fix a ResourceWarning. | |||||
* | | | merge 3.4 | Benjamin Peterson | 2014-12-07 | 1 | -2/+2 | |
|\ \ \ | |/ / | ||||||
| * | | use context's check_hostname attribute rather than the HTTPSHandler ↵ | Benjamin Peterson | 2014-12-07 | 1 | -2/+2 | |
| | | | | | | | | | | | | check_hostname parameter | |||||
| * | | backport context argument of urlopen (#22366) for pep 476 | Senthil Kumaran | 2014-09-19 | 1 | -1/+9 | |
| | | | ||||||
* | | | Close #19494: add urrlib.request.HTTPBasicPriorAuthHandler | Nick Coghlan | 2014-11-12 | 1 | -0/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This auth handler adds the Authorization header to the first HTTP request rather than waiting for a HTTP 401 Unauthorized response from the server as the default HTTPBasicAuthHandler does. This allows working with websites like https://api.github.com which do not follow the strict interpretation of RFC, but more the dicta in the end of section 2 of RFC 2617: > A client MAY preemptively send the corresponding Authorization > header with requests for resources in that space without receipt > of another challenge from the server. Similarly, when a client > sends a request to a proxy, it may reuse a userid and password in > the Proxy-Authorization header field without receiving another > challenge from the proxy server. See section 4 for security > considerations associated with Basic authentication. Patch by Matej Cepl. | |||||
* | | | Issue #22366: urllib.request.urlopen will accept a context object (SSLContext) | Senthil Kumaran | 2014-09-19 | 1 | -1/+9 | |
|/ / | | | | | | | | | | | as an argument which will then used be for HTTPS connection. Patch by Alex Gaynor. | |||||
* | | Issue #19524: Fixed resource leak in the HTTP connection when an invalid | Serhiy Storchaka | 2014-09-06 | 1 | -11/+14 | |
| | | | | | | | | response is received. Patch by Martin Panter. | |||||
* | | Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. ↵ | Senthil Kumaran | 2014-08-20 | 1 | -18/+2 | |
| | | | | | | | | Initial patch by Sam Bull. | |||||
* | | backout changeset 3435c5865cfc due to buildbot failures. Ref #8797 | Senthil Kumaran | 2014-08-16 | 1 | -2/+18 | |
| | | ||||||
* | | Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. ↵ | Senthil Kumaran | 2014-08-16 | 1 | -18/+2 | |
| | | | | | | | | Initial patch by Sam Bull. | |||||
* | | Fix localhost checking in FileHandler. Raised in #21970. | Senthil Kumaran | 2014-07-22 | 1 | -1/+1 | |
| | | ||||||
* | | in ftp cache pruning, avoid changing the size of a dict while iterating over ↵ | Benjamin Peterson | 2014-06-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | it (closes #21463) Patch by Skyler Leigh Amador. | |||||
* | | Convert urllib.request parse_proxy doctests to unittests. | Senthil Kumaran | 2014-04-14 | 1 | -44/+1 | |
| | | ||||||
* | | fix typo | Benjamin Peterson | 2014-04-01 | 1 | -1/+1 | |
| | | ||||||
* | | simplify check, since now there are only new-style classes | Benjamin Peterson | 2014-04-01 | 1 | -5/+2 | |
| | | ||||||
* | | Issue #19735: Implement private function ssl._create_stdlib_context() to | Christian Heimes | 2013-11-23 | 1 | -7/+3 | |
| | | | | | | | | | | create SSLContext objects in Python's stdlib module. It provides a single configuration point and makes use of SSLContext.load_default_certs(). | |||||
* | | Issue #18978: A more elegant technique for resolving the method | Jason R. Coombs | 2013-09-08 | 1 | -6/+2 | |
| | | ||||||
* | | Issue #18978: Allow Request.method to be defined at the class level. | Jason R. Coombs | 2013-09-08 | 1 | -2/+3 | |
| | | ||||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -3/+3 | |
| | | ||||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -3/+3 | |
| | | | | | | | | ModuleNotFoundError. | |||||
* | | merge from 3.3 | Senthil Kumaran | 2013-06-02 | 1 | -1/+2 | |
|\ \ | |/ | | | | | | | | | | | Fix #17967 - Fix related to regression on Windows. os.path.join(*self.dirs) produces an invalid path on windows. ftp paths are always forward-slash seperated like this. /pub/dir. | |||||
| * | Fix #17967 - Fix related to regression on Windows. | Senthil Kumaran | 2013-06-02 | 1 | -1/+2 | |
| | | | | | | | | | | os.path.join(*self.dirs) produces an invalid path on windows. ftp paths are always forward-slash seperated like this. /pub/dir. | |||||
* | | merge from 3.3 | Senthil Kumaran | 2013-06-01 | 1 | -1/+4 | |
|\ \ | |/ | | | | | | | | | Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when hostname is resolvable by socket.gethostname for local machine. This all fixes certain freebsd builtbot failures. | |||||
| * | Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when | Senthil Kumaran | 2013-06-01 | 1 | -1/+4 | |
| | | | | | | | | | | hostname is resolvable by socket.gethostname for local machine. This all fixes certain freebsd builtbot failures. | |||||
* | | merge from 3.3 | Senthil Kumaran | 2013-06-01 | 1 | -2/+1 | |
|\ \ | |/ | | | | | | | | | Fix #17967: For ftp urls CWD to target instead of hopping to each directory towards target. This fixes a bug where target is accessible, but parent directories are restricted. | |||||
| * | Fix #17967: For ftp urls CWD to target instead of hopping to each directory | Senthil Kumaran | 2013-06-01 | 1 | -2/+1 | |
| | | | | | | | | | | towards target. This fixes a bug where target is accessible, but parent directories are restricted. | |||||
* | | Fix #17272 - Make Request.full_url and Request.get_full_url return same ↵ | Senthil Kumaran | 2013-05-24 | 1 | -2/+2 | |
| | | | | | | | | | | | | result under all circumstances. Document the change of Request.full_url to a property. | |||||
* | | merge 3.3 | Benjamin Peterson | 2013-05-13 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | use correct format code for exceptions | Benjamin Peterson | 2013-05-13 | 1 | -2/+2 | |
| | | ||||||
| * | Issue #17483: 3.3 Branch - Remove unreachable code in urllib.request | Senthil Kumaran | 2013-04-05 | 1 | -9/+5 | |
| | | ||||||
* | | Issue #17272: Making the urllib.request's Request.full_url a descriptor. Fixes | Senthil Kumaran | 2013-04-25 | 1 | -7/+20 | |
| | | | | | | | | bugs with assignment to full_url. Patch by Demian Brecht. | |||||
* | | Merge: Use repr when printing unknown url type in urlopen. | R David Murray | 2013-04-03 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Use repr when printing unknown url type in urlopen. | R David Murray | 2013-04-03 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #17483: remove unreachable code in urlopen(). | Antoine Pitrou | 2013-04-01 | 1 | -9/+5 | |
| | | ||||||
* | | #17485: Delete the Content-Length header if the data attribute is deleted. | R David Murray | 2013-03-20 | 1 | -1/+1 | |
| | | | | | | | | This is a follow on to issue 16464. Original patch by Daniel Wozniak. | |||||
* | | #17474 - Remove the various deprecated methods of Request class. | Senthil Kumaran | 2013-03-19 | 1 | -44/+0 | |
| | | ||||||
* | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -8/+8 | |
| | | ||||||
* | | Issue #16719: Get rid of WindowsError. Use OSError instead | Andrew Svetlov | 2012-12-19 | 1 | -2/+2 | |
| | | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | Issue #16717: get rid of socket.error, replace with OSError | Andrew Svetlov | 2012-12-18 | 1 | -6/+6 | |
| | |