Commit cb2ab818 authored by Sandro Tosi's avatar Sandro Tosi

Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa

parent ddc58ae5
...@@ -448,12 +448,12 @@ Authentication Tutorial ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment