cpython/Doc/whatsnew
Nick Coghlan c216c48699 Close #19494: add urrlib.request.HTTPBasicPriorAuthHandler
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.
2014-11-12 23:33:50 +10:00
..
2.0.rst Fixing broken links in doc, part 4: some more breaks and redirects 2014-10-29 10:57:37 +01:00
2.1.rst Merge with 3.4 2014-10-29 08:37:29 +01:00
2.2.rst Use https:// URLs when referring to python.org hosts. 2014-10-29 08:36:35 +01:00
2.3.rst Fixing broken links in doc, part 4: some more breaks and redirects 2014-10-29 10:57:37 +01:00
2.4.rst Use https:// URLs when referring to python.org hosts. 2014-10-29 08:36:35 +01:00
2.5.rst Use https:// URLs when referring to python.org hosts. 2014-10-29 08:36:35 +01:00
2.6.rst Fixing broken links in doc, part 4: some more breaks and redirects 2014-10-29 10:57:37 +01:00
2.7.rst Fixing broken links in doc, part 4: some more breaks and redirects 2014-10-29 10:57:37 +01:00
3.0.rst Doc: fix default role usage (except in unittest mock docs) 2014-10-30 22:26:26 +01:00
3.1.rst Fixing broken links in doc, part 4: some more breaks and redirects 2014-10-29 10:57:37 +01:00
3.2.rst Fixing broken links in doc, part 4: some more breaks and redirects 2014-10-29 10:57:37 +01:00
3.3.rst Issue #22388: Unified the style of "Contributed by" sentences in What's New. 2014-11-02 19:22:02 +02:00
3.4.rst PEP 476: enable HTTPS certificate verification by default (#22417) 2014-11-03 14:29:33 -05:00
3.5.rst Close #19494: add urrlib.request.HTTPBasicPriorAuthHandler 2014-11-12 23:33:50 +10:00
changelog.rst Fixing broken links in doc, part 4: some more breaks and redirects 2014-10-29 10:57:37 +01:00
index.rst