summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.request.rst
Commit message (Collapse)AuthorAgeFilesLines
* merge 3.4 (#23989)Benjamin Peterson2015-04-201-0/+5
|\
| * recommend requests library (closes #23989)Benjamin Peterson2015-04-201-0/+5
| | | | | | | | Patch from Van Lindberg
| * fix grammarBenjamin Peterson2015-04-201-1/+1
| |
* | Fix two typos in AbstractBasicAuthHandler documentation.Berker Peksag2015-04-171-2/+3
| |
* | #7159: generalize urllib prior auth support.R David Murray2015-04-161-12/+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.
* | Issue #12955: Change the urlopen() examples to use context managers where ↵Berker Peksag2015-04-121-13/+21
|\ \ | |/ | | | | | | | | appropriate. Patch by Martin Panter.
| * Issue #12955: Change the urlopen() examples to use context managers where ↵Berker Peksag2015-04-121-13/+21
| | | | | | | | | | | | appropriate. Patch by Martin Panter.
* | merge 3.4Benjamin Peterson2014-11-231-4/+1
|\ \ | |/
| * document that cadefault does nothing nowBenjamin Peterson2014-11-231-4/+1
| |
* | Close #19494: add urrlib.request.HTTPBasicPriorAuthHandlerNick Coghlan2014-11-121-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | context has been backported so fix versionchangedBenjamin Peterson2014-11-031-1/+1
| |
* | merge 3.4 (#22417)Benjamin Peterson2014-11-031-5/+0
|\ \ | |/
| * PEP 476: enable HTTPS certificate verification by default (#22417)Benjamin Peterson2014-11-031-5/+0
| | | | | | | | Patch by Alex Gaynor with some modifications by me.
* | merge 3.4Benjamin Peterson2014-11-021-2/+3
|\ \ | |/
| * wrapBenjamin Peterson2014-11-021-2/+2
| |
| * backport context argument of urlopen (#22366) for pep 476Senthil Kumaran2014-09-191-1/+8
| |
* | Issue #22366: urllib.request.urlopen will accept a context object (SSLContext)Senthil Kumaran2014-09-191-1/+8
| | | | | | | | | | | | as an argument which will then used be for HTTPS connection. Patch by Alex Gaynor.
* | Fix Issue #21528 - Fix documentation typosDonald Stufft2014-05-201-2/+2
|/
* Fix a few scoping issues with versionadded/versionchanged directives.Georg Brandl2014-03-241-3/+4
|
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-5/+12
|
* Removed spaces before commas and periods.Serhiy Storchaka2013-12-231-1/+1
|\
| * Removed spaces before commas and periods.Serhiy Storchaka2013-12-231-1/+1
| |
* | Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-2/+2
|\ \ | |/
| * Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-2/+2
| |
* | Improve #19204: Improved cross-references in the urllib package documentation.Serhiy Storchaka2013-10-131-20/+21
|\ \ | |/
| * Improve #19204: Improved cross-references in the urllib package documentation.Serhiy Storchaka2013-10-131-20/+21
| |
* | Issue #18978: Update docs to reflect explicitly the ability to set the ↵Jason R. Coombs2013-09-221-0/+5
| | | | | | | | attribute at the class level.
* | Fix #17272 - Make Request.full_url and Request.get_full_url return same ↵Senthil Kumaran2013-05-241-0/+10
| | | | | | | | | | | | result under all circumstances. Document the change of Request.full_url to a property.
* | - Issue #17977: The documentation for the cadefault argument's default valueBarry Warsaw2013-05-141-1/+1
|\ \ | |/ | | | | in urllib.request.urlopen() is fixed to match the code.
| * - Issue #17977: The documentation for the cadefault argument's default valueBarry Warsaw2013-05-141-1/+1
| | | | | | | | in urllib.request.urlopen() is fixed to match the code.
* | Merge: Reflow paragraphs.R David Murray2013-04-281-10/+9
|\ \ | |/ | | | | | | (I got a merge conflict on this in urllib.request.rst, which makes no sense to me. Hopefully I didn't screw up the previous 3.3 commit.)
| * Reflow paragraphs.R David Murray2013-04-281-10/+9
| | | | | | | | | | I know one of them looks worse, but now it is <80 chars and matches the 2.7 text.
* | Merge #7152: Clarify that ProxyHandler is added only if proxy settings are ↵R David Murray2013-04-281-6/+9
|\ \ | |/ | | | | | | | | detected. Behavior confirmation and initial patch by Jessica McKellar.
| * #7152: Clarify that ProxyHandler is added only if proxy settings are detected.R David Murray2013-04-281-6/+9
| | | | | | | | Behavior confirmation and initial patch by Jessica McKellar.
* | #17474 - merge from 3.3. Update default Docs with versionchanged markup on ↵Senthil Kumaran2013-03-201-0/+5
|\ \ | |/ | | | | what's removed
| * #17474 - Mark the deprecated Request methods as deprecated-removed. Review ↵Senthil Kumaran2013-03-201-8/+8
| | | | | | | | by Ezio Melotti
* | #17474 - Remove the various deprecated methods of Request class.Senthil Kumaran2013-03-191-69/+0
| |
* | #10050 : merge to defaultSenthil Kumaran2013-03-191-0/+4
|\ \ | |/
| * #10050 - Document DeprecationWarnings for URLopener and FancyURLopener ↵Senthil Kumaran2013-03-191-0/+4
| | | | | | | | (msg172874 )
* | #17307 - merge from 3.3Senthil Kumaran2013-03-131-0/+9
|\ \ | |/
| * #17307 - merge from 3.2Senthil Kumaran2013-03-131-0/+9
| |\
* | \ Addressing the review comment made by Terry ReedySenthil Kumaran2013-02-081-3/+3
|\ \ \ | |/ /
| * | Addressing the review comment made by Terry ReedySenthil Kumaran2013-02-081-3/+3
| |\ \ | | |/
| | * Addressing the review comment made by Terry ReedySenthil Kumaran2013-02-081-3/+3
| | |
* | | Fix Issue17069: Document getcode method in urllib.request.rstSenthil Kumaran2013-02-071-4/+12
|\ \ \ | |/ /
| * | Fix Issue17069: Document getcode method in urllib.request.rstSenthil Kumaran2013-02-071-4/+12
| |\ \ | | |/
| | * Fix Issue17069: Document getcode method in urllib.request.rstSenthil Kumaran2013-02-071-4/+12
| | |
| | * Fix a bunch of "versionchanged" related markup errors.Georg Brandl2012-06-241-4/+3
| | |
* | | Add a missing versionadded.Georg Brandl2012-12-221-0/+2
| | |
* | | Issue #16464: reset Request's Content-Length header on .data change.Andrew Svetlov2012-11-271-0/+10
| | | | | | | | | | | | | | | | | | It will be recalculated on sending request to HTTP server. Patch by Alexey Kachayev