flake8
passed.
JSHint
passed.
Review Request #11193 — Created Sept. 21, 2020 and submitted
The problem with HTTPBasicAuthHandler is that it will first attempt to make an unauthenticated request, and will retry with authentication only if a 401 response was seen. However, some servers respond with 403 if the right credentials are not supplied right away.