changeset: 76522:01abffa8842a branch: 3.2 parent: 76518:971865f12377 user: Sandro Tosi date: Tue Apr 24 17:36:41 2012 +0200 files: Doc/howto/urllib2.rst description: Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa diff -r 971865f12377 -r 01abffa8842a Doc/howto/urllib2.rst --- a/Doc/howto/urllib2.rst Tue Apr 24 11:06:25 2012 -0400 +++ b/Doc/howto/urllib2.rst Tue Apr 24 17:36:41 2012 +0200 @@ -448,12 +448,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

AltStyle によって変換されたページ (->オリジナル) /