Getting a 401 from requests.get, but not when logging in via the browser.

Chris Angelico rosuav at gmail.com
Tue Apr 21 16:58:02 EDT 2020


On Wed, Apr 22, 2020 at 6:51 AM <dcwhatthe at gmail.com> wrote:
>
> I'm pretty much there ; just have to account for other types of Authentication.  E.g., for NTLM, I have this:
>
>             response.raise_for_status

Be aware that this line of code won't actually do anything. That's a method.

ChrisA


More information about the Python-list mailing list