Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa
authorSandro Tosi <sandro.tosi@gmail.com>
Tue, 24 Apr 2012 15:36:41 +0000 (17:36 +0200)
committerSandro Tosi <sandro.tosi@gmail.com>
Tue, 24 Apr 2012 15:36:41 +0000 (17:36 +0200)
Doc/howto/urllib2.rst

index 567c1b1820498d6c832b4e8615ccf4c03ac741df..fade4a3487f105839b73d50939d0bdfcbd253f3a 100644 (file)
@@ -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