Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 08ccbf4

Browse files
committed
Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa
1 parent 7b16687 commit 08ccbf4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/howto/urllib2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,12 +448,12 @@ Authentication Tutorial
448448

449449
When authentication is required, the server sends a header (as well as the 401
450450
error code) requesting authentication. This specifies the authentication scheme
451-
and a 'realm'. The header looks like : ``Www-authenticate: SCHEME
451+
and a 'realm'. The header looks like : ``WWW-Authenticate: SCHEME
452452
realm="REALM"``.
453453

454454
e.g. ::
455455

456-
Www-authenticate: Basic realm="cPanel Users"
456+
WWW-Authenticate: Basic realm="cPanel Users"
457457

458458

459459
The client should then retry the request with the appropriate name and password

0 commit comments

Comments
 (0)