summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-04-24 17:36:14 +0200
committerSandro Tosi <sandro.tosi@gmail.com>2012-04-24 17:36:14 +0200
commit45c6a3cae785f35deec607877666c76368dac4bb (patch)
treecc4818049158a33bc29e074a6be9049222e4355f
parentd157a4c3dd49728b95fe63b2ff931da5bec5fe75 (diff)
downloadcpython-git-45c6a3cae785f35deec607877666c76368dac4bb.tar.gz
Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa
-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 6c80c779a3..e93473a446 100644
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -439,12 +439,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