summaryrefslogtreecommitdiff
path: root/Lib/urllib/request.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | simplify check, since now there are only new-style classesBenjamin Peterson2014-04-011-5/+2
| |
* | Issue #19735: Implement private function ssl._create_stdlib_context() toChristian Heimes2013-11-231-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 methodJason R. Coombs2013-09-081-6/+2
| |
* | Issue #18978: Allow Request.method to be defined at the class level.Jason R. Coombs2013-09-081-2/+3
| |
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-3/+3
| |
* | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-131-3/+3
| | | | | | | | ModuleNotFoundError.
* | merge from 3.3Senthil Kumaran2013-06-021-75/+105
|\ \ | |/ |/| | | | | | | | | 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.
| * merge from 3.3Senthil Kumaran2013-06-011-75/+105
| |\ | | | | | | | | | | | | | | | 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.
| | * merge from 3.3Senthil Kumaran2013-06-011-75/+105
| | |\ | | | | | | | | | | | | | | | | | | | | 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 #17272 - Make Request.full_url and Request.get_full_url return same ↵Senthil Kumaran2013-05-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | result under all circumstances. Document the change of Request.full_url to a property.
| | | * merge 3.3Benjamin Peterson2013-05-121-2/+2
| | | |\
| | | * | Issue #17272: Making the urllib.request's Request.full_url a descriptor. FixesSenthil Kumaran2013-04-251-7/+20
| | | | | | | | | | | | | | | | | | | | bugs with assignment to full_url. Patch by Demian Brecht.
| | | * | Merge: Use repr when printing unknown url type in urlopen.R David Murray2013-04-031-76/+89
| | | |\ \
| | | | * | Issue #17483: remove unreachable code in urlopen().Antoine Pitrou2013-04-011-9/+5
| | | | | |
| | | | * | #17485: Delete the Content-Length header if the data attribute is deleted.R David Murray2013-03-201-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 Kumaran2013-03-181-44/+0
| | | | | |
| | | | * | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-8/+8
| | | | | |
| | | | * | Issue #16719: Get rid of WindowsError. Use OSError insteadAndrew Svetlov2012-12-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Patch by Serhiy Storchaka.
| | | | * | Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-6/+6
| | | | | |
| | | | * | Get rig of EnvironmentError (#16705)Andrew Svetlov2012-12-171-1/+1
| | | | | |
| | | | * | Issue #16464: reset Request's Content-Length header on .data change.Andrew Svetlov2012-11-271-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It will be recalculated on sending request to HTTP server. Patch by Alexey Kachayev
| | | | * | Issue #16423: urllib.request now has support for ``data:`` URLs.Antoine Pitrou2012-11-241-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | Patch by Mathias Panzenb?ck.
| | | | * | Fixes issue #16409: The reporthook callback made by the legacyGregory P. Smith2012-11-101-2/+2
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | urllib.request.urlretrieve API now properly supplies a constant non-zero block_size as it did in Python 3.2 and 2.7. This matches the behavior of urllib.request.URLopener.retrieve.
| | | | * | | Issue #16301: Fix the localhost verification in urllib/request.py for ↵Senthil Kumaran2012-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | file://. Modify tests to use localhost for local temp files, which could make Windows Buildbot (#16300) happy
| | | | * | | Issue #16250: Fix the invocations of URLError which had misplaced filename ↵Senthil Kumaran2012-10-211-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | attribute for exception
| | | | * | | Issue #10836: Fix exception raised when file not found in urlretrieveSenthil Kumaran2012-10-211-2/+2
| | | | | | |
| | | | * | | Issue #12692: Fix resource leak in urllib.request.Nadeem Vawda2012-10-211-0/+6
| | | | | | |
* | | | | | | Fix #17967 - Fix related to regression on Windows.Senthil Kumaran2013-06-021-1/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | os.path.join(*self.dirs) produces an invalid path on windows. ftp paths are always forward-slash seperated like this. /pub/dir.
* | | | | | Fix thishost helper funtion in urllib. Returns the ipaddress of localhost whenSenthil Kumaran2013-06-011-1/+4
|/ / / / / | | | | | | | | | | | | | | | | | | | | hostname is resolvable by socket.gethostname for local machine. This all fixes certain freebsd builtbot failures.
* | | | | Fix #17967: For ftp urls CWD to target instead of hopping to each directorySenthil Kumaran2013-06-011-2/+1
| |_|_|/ |/| | | | | | | | | | | | | | | towards target. This fixes a bug where target is accessible, but parent directories are restricted.
* | | | use correct format code for exceptionsBenjamin Peterson2013-05-121-2/+2
| | | |
* | | | Issue #17483: 3.3 Branch - Remove unreachable code in urllib.requestSenthil Kumaran2013-04-041-9/+5
|/ / /
* | | Use repr when printing unknown url type in urlopen.R David Murray2013-04-031-1/+1
| |/ |/|
* | Fixes issue #16409: The reporthook callback made by the legacyGregory P. Smith2012-11-101-2/+2
| | | | | | | | | | | | urllib.request.urlretrieve API now properly supplies a constant non-zero block_size as it did in Python 3.2 and 2.7. This matches the behavior of urllib.request.URLopener.retrieve.
* | Issue #16250: Fix URLError invocation with proper argsSenthil Kumaran2012-10-271-15/+15
|\ \ | |/ |/|
| * Issue #16250: Fix URLError invocation with proper args.Senthil Kumaran2012-10-271-18/+15
| |
| * Fix issue #16270: urllib may hang when used for retrieving files via FTP by ↵Giampaolo Rodola'2012-10-191-6/+0
| | | | | | | | using a context manager.
* | Fix issue #16270: urllib may hang when used for retrieving files via FTP by ↵Giampaolo Rodola'2012-10-191-6/+0
| | | | | | | | using a context manager.
* | revert the changes done for issue14826 - quoting witin Request is not desirable.Senthil Kumaran2012-07-081-52/+161
|\ \ | |/ |/|
| * issue 14826 - Address the buildbot failure quote of url is the required ↵Senthil Kumaran2012-07-081-52/+161
| |\ | | | | | | | | | change ( explanation msg164973)
| | * Fix issue14826 - make urllib.request.Request quoted url consistent with ↵Senthil Kumaran2012-07-071-1/+2
| | |\ | | | | | | | | | | | | | | | | | | | | URLOpener open method. Patch contributed by Stephen Thorne.
| | * | urllib.request: fix spacing errors in exception/warning messages.Georg Brandl2012-06-241-5/+5
| | | |
| | * | Issue #14780: urllib.request.urlopen() now has a `cadefault` argument to use ↵Antoine Pitrou2012-05-161-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | the default certificate store. Initial patch by James Oakley.
| | * | Issue12541 - Add UserWarning for unquoted realmsSenthil Kumaran2012-05-161-0/+3
| | |\ \
| | * \ \ merge from 3.2 - Issue #12541: Be lenient with quotes around Realm field of ↵Senthil Kumaran2012-05-151-1/+1
| | |\ \ \ | | | | | | | | | | | | | | | | | | HTTP Basic Authentation in urllib2.
| | * \ \ \ Explain the use of charset parameter with Content-Type header: issue11082Senthil Kumaran2012-03-151-2/+3
| | |\ \ \ \
| | * | | | | deprecated the old urllib primitives in 3.3 urllib package - issue 10050Senthil Kumaran2012-03-141-8/+26
| | | | | | |
| | * | | | | Issue10050 - urlretrieve uses newer urlopen. reporthook of urlretrieve ↵Senthil Kumaran2012-03-131-8/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | takes, block number, block read size, file_size
| | * | | | | merge from 3.2Senthil Kumaran2012-01-211-26/+51
| | |\ \ \ \ \
| | | * \ \ \ \ merge from 3.2 - Fix Issue #13642: Unquote before b64encoding user:password ↵Senthil Kumaran2012-01-141-26/+51
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | during Basic Authentication.