There was an error while loading. Please reload this page.
1 parent 6e8cfe6 commit 5584ab9Copy full SHA for 5584ab9
1 file changed
Doc/library/urllib.request.rst
@@ -989,8 +989,8 @@ These methods are available on :class:`HTTPPasswordMgr` and
989
*passwd* must be strings. This causes ``(user, passwd)`` to be used as
990
authentication tokens when authentication for *realm* and a super-URI of any
991
of the given URIs is given. If a URI includes a scheme, its credentials only
992
- match authentication URIs with the same scheme. A URI without a scheme
993
- matches authentication URIs with any scheme.
+ match authentication URIs with the same scheme or no scheme. A URI without a
+ scheme matches authentication URIs with any scheme.
994
995
.. versionchanged:: next
996
Authentication credentials for URIs with a scheme are now scoped by
0 commit comments