[Python-checkins] cpython (2.7): Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron

sandro.tosi python-checkins at python.org
Tue Apr 24 17:38:44 CEST 2012


http://hg.python.org/cpython/rev/4dda3000c932
changeset:   76521:4dda3000c932
branch:      2.7
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Tue Apr 24 17:36:14 2012 +0200
summary:
  Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa

files:
  Doc/howto/urllib2.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -439,12 +439,12 @@
 
 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list