mirror of https://github.com/python/cpython.git
Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa
This commit is contained in:
parent
7b1668735a
commit
08ccbf4be9
|
@ -448,12 +448,12 @@ Authentication Tutorial
|
||||||
|
|
||||||
When authentication is required, the server sends a header (as well as the 401
|
When authentication is required, the server sends a header (as well as the 401
|
||||||
error code) requesting authentication. This specifies the authentication scheme
|
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"``.
|
realm="REALM"``.
|
||||||
|
|
||||||
e.g. ::
|
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
|
The client should then retry the request with the appropriate name and password
|
||||||
|
|
Loading…
Reference in New Issue