Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:
Seems like this is an explicit choice that there is also a test with the URL "user:passw...@www.python.org" . Ref : https://github.com/python/cpython/blob/731ff68eeef58babdf2b32dc9a73b141760c2be9/Lib/test/test_httplib.py#L640 . You can try basic auth example in https://docs.python.org/3/library/urllib.request.html#examples Adding the developer here who might have more info on adding this support for urllib . Thanks ---------- nosy: +orsenthil _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34628> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com