Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22278: Fix urljoin problem with relative urls, a regression observed | Senthil Kumaran | 2014-09-22 | 1 | -1/+5 |
| | | | | | | after changes to issue22118 were submitted. Patch contributed by Demian Brecht and reviewed by Antoine Pitrou. | ||||
* | 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. | ||||
| * | 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. | ||||
* | | Issue #22118: Switch urllib.parse to use RFC 3986 semantics for the ↵ | Antoine Pitrou | 2014-08-21 | 1 | -25/+38 |
| | | | | | | | | | | | | resolution of relative URLs, rather than RFCs 1808 and 2396. Patch by Demian Brecht. | ||||
* | | merge from 3.4 | Senthil Kumaran | 2014-08-20 | 1 | -18/+2 |
|\ \ | |/ | | | | | Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull. | ||||
| * | Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. ↵ | Senthil Kumaran | 2014-08-20 | 1 | -18/+2 |
| | | | | | | | | Initial patch by Sam Bull. | ||||
* | | merge 3.4; backout changeset 3435c5865cfc due to buildbot failures. Ref #8797 | Senthil Kumaran | 2014-08-16 | 1 | -2/+18 |
|\ \ | |/ | |||||
| * | backout changeset 3435c5865cfc due to buildbot failures. Ref #8797 | Senthil Kumaran | 2014-08-16 | 1 | -2/+18 |
| | | |||||
* | | merge from 3.4 | Senthil Kumaran | 2014-08-16 | 1 | -18/+2 |
|\ \ | |/ | | | | | Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull. | ||||
| * | Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. ↵ | Senthil Kumaran | 2014-08-16 | 1 | -18/+2 |
| | | | | | | | | Initial patch by Sam Bull. | ||||
* | | Issue #22033: Reprs of most Python implemened classes now contain actual | Serhiy Storchaka | 2014-07-25 | 1 | -1/+1 |
| | | | | | | | | class name instead of hardcoded one. | ||||
* | | Merge 3.4 | Senthil Kumaran | 2014-07-22 | 1 | -1/+1 |
|\ \ | |/ | | | | | Fix localhost checking in FileHandler. Raised in #21970. | ||||
| * | Fix localhost checking in FileHandler. Raised in #21970. | Senthil Kumaran | 2014-07-22 | 1 | -1/+1 |
| | | |||||
* | | merge 3.4 (#21463) | Benjamin Peterson | 2014-06-07 | 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. | ||||
* | | Issue 21469: Minor code modernization (convert and/or expression to an ↵ | Raymond Hettinger | 2014-05-13 | 1 | -1/+1 |
|/ | | | | | | if/else expression). Suggested by: Tal Einat | ||||
* | Issue 21469: Mitigate risk of false positives with robotparser. | Raymond Hettinger | 2014-05-13 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | * Repair the broken link to norobots-rfc.txt. * HTTP response codes >= 500 treated as a failed read rather than as a not found. Not found means that we can assume the entire site is allowed. A 5xx server error tells us nothing. * A successful read() or parse() updates the mtime (which is defined to be "the time the robots.txt file was last fetched"). * The can_fetch() method returns False unless we've had a read() with a 2xx or 4xx response. This avoids false positives in the case where a user calls can_fetch() before calling read(). * I don't see any easy way to test this patch without hitting internet resources that might change or without use of mock objects that wouldn't provide must reassurance. | ||||
* | urllib.response object to use _TemporaryFileWrapper (and _TemporaryFileCloser) | Senthil Kumaran | 2014-04-20 | 1 | -42/+19 |
| | | | | | | facility. Provides a better way to handle file descriptor close. Address issue #15002 . Patch contributed by Christian Theune. | ||||
* | 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 #20879: Delay the initialization of encoding and decoding tables for | Victor Stinner | 2014-03-17 | 1 | -2/+7 |
| | | | | | | base32, ascii85 and base85 codecs in the base64 module, and delay the initialization of the unquote_to_bytes() table of the urllib.parse module, to not waste memory if these modules are not used. | ||||
* | Issue #20270: urllib.urlparse now supports empty ports. | Serhiy Storchaka | 2014-01-18 | 1 | -14/+17 |
|\ | |||||
| * | Issue #20270: urllib.urlparse now supports empty ports. | Serhiy Storchaka | 2014-01-18 | 1 | -14/+17 |
| | | |||||
| * | Backporing the fix from Issue #12692 | Senthil Kumaran | 2013-12-29 | 1 | -0/+6 |
| | | |||||
* | | 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 |
| | | |||||
* | | merge from 3.3 | Senthil Kumaran | 2013-09-06 | 1 | -4/+4 |
|\ \ | |/ | | | | | | | Improve urlencode docstring. Patch by Brian Brazil. Closes issue #15350 | ||||
| * | Improve urlencode docstring. Patch by Brian Brazil. | Senthil Kumaran | 2013-09-06 | 1 | -4/+4 |
| | | |||||
* | | 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. | ||||
* | | merge from 3.3 | Senthil Kumaran | 2013-05-29 | 1 | -0/+1 |
|\ \ | |/ | | | | | | | | | #17403: urllib.parse.robotparser normalizes the urls before adding to ruleline. This helps in handling certain types invalid urls in a conservative manner. Patch contributed by Mher Movsisyan. | ||||
| * | #17403: urllib.parse.robotparser normalizes the urls before adding to ruleline. | Senthil Kumaran | 2013-05-29 | 1 | -0/+1 |
| | | | | | | | | This helps in handling certain types invalid urls in a conservative manner. | ||||
* | | 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. | ||||
* | | Remove redundant imports | Raymond Hettinger | 2013-04-07 | 1 | -9/+0 |
| | | |||||
* | | 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 |
| | |