]> granicus.if.org Git - python/commitdiff
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:14 +0000 (17:36 +0200)
committerSandro Tosi <sandro.tosi@gmail.com>
Tue, 24 Apr 2012 15:36:14 +0000 (17:36 +0200)
Doc/howto/urllib2.rst

index 6c80c779a38fca179388e82b9a07936b78bd2621..e93473a446096f092e30a65619c39d383a15167d 100644 (file)
@@ -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