summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #26864: Fix case insensitivity and suffix comparison with no_proxyMartin Panter2016-04-301-0/+13
| | | | Patch by Xiang Zhang.
* Issue #26804: urllib.request will prefer lower_case proxy environment variablesSenthil Kumaran2016-04-251-1/+39
| | | | | | over UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
* Issue #12923: Reset FancyURLopener's redirect counter even on exceptionMartin Panter2016-02-041-6/+25
| | | | Based on patches by Brian Brazil and Daniel Rocco.
* Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-1/+1
|\
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | Added more tests for urllib.parse utility functions.Serhiy Storchaka2015-03-021-15/+0
|\ \ | |/ | | | | These functions are not documented but used in third-party code.
| * Added more tests for urllib.parse utility functions.Serhiy Storchaka2015-03-021-15/+0
| | | | | | | | These functions are not documented but used in third-party code.
| * backport context argument of urlopen (#22366) for pep 476Senthil Kumaran2014-09-191-0/+8
| |
* | Fix test_urllib without the ssl moduleAntoine Pitrou2014-11-021-1/+5
| |
* | Issue #22366: urllib.request.urlopen will accept a context object (SSLContext)Senthil Kumaran2014-09-191-0/+8
| | | | | | | | | | | | 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 invalidSerhiy Storchaka2014-09-061-27/+32
|\ \ | |/ | | | | response is received. Patch by Martin Panter.
| * Issue #19524: Fixed resource leak in the HTTP connection when an invalidSerhiy Storchaka2014-09-061-27/+32
| | | | | | | | response is received. Patch by Martin Panter.
* | Issue #21566: Make use of socket.listen() default backlog.Charles-François Natali2014-07-231-1/+1
|/
* in ftp cache pruning, avoid changing the size of a dict while iterating over ↵Benjamin Peterson2014-06-071-1/+31
| | | | | | it (closes #21463) Patch by Skyler Leigh Amador.
* Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵Serhiy Storchaka2014-02-081-2/+2
|\ | | | | | | tests.
| * Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵Serhiy Storchaka2014-02-081-2/+2
| | | | | | | | tests.
* | #18466: merge with 3.3.Ezio Melotti2013-08-171-1/+1
|\ \ | |/
| * #18466: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-171-1/+1
| |
| * normalize whitespaceSenthil Kumaran2013-04-111-2/+2
| |
* | normalize whitespace. caught by hookSenthil Kumaran2013-04-111-2/+2
| |
* | merge from 3.3Senthil Kumaran2013-04-111-18/+58
|\ \ | |/ | | | | | | #5609 - test_urllib coverage for url2pathname and pathname2url. Patch contribution by Thomas Fenzl & Maksim Kozyarchuk
| * #5609 - test_urllib coverage for url2pathname and pathname2url. PatchSenthil Kumaran2013-04-111-17/+56
| | | | | | | | contribution by Thomas Fenzl & Maksim Kozyarchuk
* | Merge DeprecationWarnings silencing in test_urllib from 3.3.Ezio Melotti2013-02-211-9/+14
|\ \ | |/
| * Silence DeprecationWarnings in test_urllib.Ezio Melotti2013-02-211-9/+14
| |
* | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-5/+5
| |
* | Issue #16423: urllib.request now has support for ``data:`` URLs.Antoine Pitrou2012-11-241-0/+74
| | | | | | | | Patch by Mathias Panzenböck.
* | Fix test_urllib broken by my previous commits. The assumptions it wasGregory P. Smith2012-11-101-4/+5
|\ \ | |/ | | | | | | | | testing were added as part of the issue10050 change that caused the wrong behavior in the first place. now all test cases agree on the behavior.
| * Fix test_urllib broken by my previous commits. The assumptions it wasGregory P. Smith2012-11-101-4/+5
| | | | | | | | | | | | testing were added as part of the issue10050 change that caused the wrong behavior in the first place. now all test cases agree on the behavior.
| * Issue #16250: Fix URLError invocation with proper argsSenthil Kumaran2012-10-271-1/+34
| |\
| | * Issue #16250: Fix URLError invocation with proper args.Senthil Kumaran2012-10-271-0/+35
| | |
* | | Fix the windows buildbot permission error - close the fd of tempfile beffore ↵Senthil Kumaran2012-10-231-6/+7
| | | | | | | | | | | | unlinking
* | | Fix issue16300: addressing the buildbot failures on windowsSenthil Kumaran2012-10-231-2/+1
| | |
* | | skip the file localhost test on windows. Fix it on branch and modify the testSenthil Kumaran2012-10-231-0/+1
| | |
* | | Fix the ResourceWarning in test_urllib.py due changes made for #16301. Patch ↵Senthil Kumaran2012-10-231-1/+2
| | | | | | | | | | | | by Berker Peksag
* | | 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-221-2/+30
| | | | | | | | | | | | attribute for exception
* | | Issue #10836: Fix exception raised when file not found in urlretrieveSenthil Kumaran2012-10-211-0/+5
|/ /
* | revert the changes done for issue14826 - quoting witin Request is not desirable.Senthil Kumaran2012-07-091-5/+0
|\ \ | |/
| * revert the changes done for issue14826 - quoting witin Request is not desirable.Senthil Kumaran2012-07-091-5/+0
| |
* | Fix issue14826 - make urllib.request.Request quoted url consistent with ↵Senthil Kumaran2012-07-081-0/+5
|\ \ | |/ | | | | | | | | URLOpener open method. Patch contributed by Stephen Thorne.
| * Fix issue14826 - make urllib.request.Request quoted url consistent with ↵Senthil Kumaran2012-07-081-0/+5
| | | | | | | | | | | | URLOpener open method. Patch contributed by Stephen Thorne.
* | deprecated the old urllib primitives in 3.3 urllib package - issue 10050Senthil Kumaran2012-03-141-0/+4
| |
* | Issue10050 - urlretrieve uses newer urlopen. reporthook of urlretrieve ↵Senthil Kumaran2012-03-141-17/+17
| | | | | | | | takes, block number, block read size, file_size
* | Merge 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl2012-02-201-1/+3
|\ \ | |/
| * Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-201-1/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| | * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
* | | merge from 3.2Senthil Kumaran2012-01-211-0/+3
|\ \ \ | |/ /
| * | Fix Issue6631 - Disallow relative file paths in urllib urlopenSenthil Kumaran2012-01-211-0/+3
| | |
* | | merge from 3.2 - Fix Issue #13642: Unquote before b64encoding user:password ↵Senthil Kumaran2012-01-141-2/+31
|\ \ \ | |/ / | | | | | | during Basic Authentication.
| * | Fix Issue #13642: Unquote before b64encoding user:password during Basic ↵Senthil Kumaran2012-01-141-2/+31
| | | | | | | | | | | | Authentication.