Open mikeyg123 opened 7 years ago
Update: Modifying the retry_using_http_NTLM_auth() method so that it skips reading the response if there's no content-length header seems to fix it. I'm not 100% sure of the implications of this however - why is the read necessary at all? Could you make this small change?
Thank you
I'm trying to do a simple get request but I get the TypeError below:
The same url works with chrome and ie. (Using the Requests library gets further through the handshake but it doesn't provide the correct response to the challenge.)
Fairly obvious that the server is not returning a content length - but is there any way around this? Why does the HTTPNtlmAuthHandler rely on this header? Thanks MikeG