mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa
This commit is contained in:
parent
7b1668735a
commit
08ccbf4be9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue