Windson Yang <wiwind...@outlook.com> added the comment:
Why requests library didn't raise an error because urllib3 (the library requests using) ignore the auth part right now > Currently we expect our users to handle authentication headers themselves. > It's unfortunate that we silently strip this information though... The discuss also in https://github.com/urllib3/urllib3/issues/1530 Should we ignore the userinfo part of raising an error here? ---------- _______________________________________ 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