summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-04-24 15:36:41 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2012-04-24 15:36:41 (GMT)
commit08ccbf4be98c8574e30c6d94c03c2ef9aef31a2c (patch)
tree70471f7b57492b267e2cec8afb23f2ce7099137c /Doc/howto
parent7b1668735ace947474bb94f812c03b39bd963a77 (diff)
downloadcpython-08ccbf4be98c8574e30c6d94c03c2ef9aef31a2c.zip
cpython-08ccbf4be98c8574e30c6d94c03c2ef9aef31a2c.tar.gz
cpython-08ccbf4be98c8574e30c6d94c03c2ef9aef31a2c.tar.bz2
Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/urllib2.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
index 567c1b1..fade4a3 100644
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -448,12 +448,12 @@ Authentication Tutorial
When authentication is required, the server sends a header (as well as the 401
error code) requesting authentication. This specifies the authentication scheme
-and a 'realm'. The header looks like : ``Www-authenticate: SCHEME
+and a 'realm'. The header looks like : ``WWW-Authenticate: SCHEME
realm="REALM"``.
e.g. ::
- Www-authenticate: Basic realm="cPanel Users"
+ WWW-Authenticate: Basic realm="cPanel Users"
The client should then retry the request with the appropriate name and password