Re: RFR: 8270290: NTLM authentication fails if HEAD request is used [v2]

2021-09-30 Thread Alex Kasko
On Wed, 25 Aug 2021 14:21:59 GMT, Alex Kasko wrote: >> When HEAD request is used with a proxy (or a server) that requires NTLM, >> authentication fails when server returns large (8kb+) body along with >> NTLMSSP_CHALLENGE response. >> >> Proposed fix is to check for ongoing NTLM auth in `reset

Re: RFR: 8270290: NTLM authentication fails if HEAD request is used [v2]

2021-09-30 Thread Michael McMahon
On Wed, 25 Aug 2021 14:21:59 GMT, Alex Kasko wrote: >> When HEAD request is used with a proxy (or a server) that requires NTLM, >> authentication fails when server returns large (8kb+) body along with >> NTLMSSP_CHALLENGE response. >> >> Proposed fix is to check for ongoing NTLM auth in `reset

Re: RFR: 8270290: NTLM authentication fails if HEAD request is used [v2]

2021-09-30 Thread Daniel Fuchs
On Wed, 25 Aug 2021 14:21:59 GMT, Alex Kasko wrote: >> When HEAD request is used with a proxy (or a server) that requires NTLM, >> authentication fails when server returns large (8kb+) body along with >> NTLMSSP_CHALLENGE response. >> >> Proposed fix is to check for ongoing NTLM auth in `reset

Re: RFR: 8270290: NTLM authentication fails if HEAD request is used [v2]

2021-09-30 Thread Daniel Fuchs
On Wed, 25 Aug 2021 14:21:59 GMT, Alex Kasko wrote: >> When HEAD request is used with a proxy (or a server) that requires NTLM, >> authentication fails when server returns large (8kb+) body along with >> NTLMSSP_CHALLENGE response. >> >> Proposed fix is to check for ongoing NTLM auth in `reset

Re: RFR: 8270290: NTLM authentication fails if HEAD request is used [v2]

2021-09-30 Thread Daniel Fuchs
On Wed, 25 Aug 2021 14:21:59 GMT, Alex Kasko wrote: >> When HEAD request is used with a proxy (or a server) that requires NTLM, >> authentication fails when server returns large (8kb+) body along with >> NTLMSSP_CHALLENGE response. >> >> Proposed fix is to check for ongoing NTLM auth in `reset

Re: RFR: 8270290: NTLM authentication fails if HEAD request is used [v2]

2021-09-30 Thread Alex Kasko
On Wed, 25 Aug 2021 14:21:59 GMT, Alex Kasko wrote: >> When HEAD request is used with a proxy (or a server) that requires NTLM, >> authentication fails when server returns large (8kb+) body along with >> NTLMSSP_CHALLENGE response. >> >> Proposed fix is to check for ongoing NTLM auth in `reset

Re: RFR: 8270290: NTLM authentication fails if HEAD request is used [v2]

2021-08-25 Thread Alex Kasko
> When HEAD request is used with a proxy (or a server) that requires NTLM, > authentication fails when server returns large (8kb+) body along with > NTLMSSP_CHALLENGE response. > > Proposed fix is to check for ongoing NTLM auth in `reset()` and consume the > response body in this case. > > Alt

Re: RFR: 8270290: NTLM authentication fails if HEAD request is used

2021-08-24 Thread Alex Kashchenko
On 8/23/21, Alex Kashchenko wrote: > Hi, > > On 8/13/21, Michael McMahon wrote: >> Hi, >> >> A question about this issue. Can you explain why the server/proxy is >> sending a response body to a HEAD request? >> >> My reading of the RFCs suggests this is not allowed. > > Thanks for your comment an

Re: RFR: 8270290: NTLM authentication fails if HEAD request is used

2021-08-23 Thread Alex Kashchenko
Hi, On 8/13/21, Michael McMahon wrote: > Hi, > > A question about this issue. Can you explain why the server/proxy is > sending a response body to a HEAD request? > > My reading of the RFCs suggests this is not allowed. Thanks for your comment and sorry for the late reply. To put aside the quest

Re: RFR: 8270290: NTLM authentication fails if HEAD request is used

2021-08-13 Thread Michael McMahon
Hi, A question about this issue. Can you explain why the server/proxy is sending a response body to a HEAD request? My reading of the RFCs suggests this is not allowed. Thanks, Michael On 12/07/2021 11:54, Alex Kasko wrote: On Mon, 12 Jul 2021 10:34:54 GMT, Alex Kasko wrote: When HEAD r

Re: RFR: 8270290: NTLM authentication fails if HEAD request is used

2021-07-12 Thread Alex Kasko
On Mon, 12 Jul 2021 10:34:54 GMT, Alex Kasko wrote: > When HEAD request is used with a proxy (or a server) that requires NTLM, > authentication fails when server returns large (8kb+) body along with > NTLMSSP_CHALLENGE response. > > Proposed fix is to check for ongoing NTLM auth in `reset()` a

RFR: 8270290: NTLM authentication fails if HEAD request is used

2021-07-12 Thread Alex Kasko
When HEAD request is used with a proxy (or a server) that requires NTLM, authentication fails when server returns large (8kb+) body along with NTLMSSP_CHALLENGE response. Proposed fix is to check for ongoing NTLM auth in `reset()` and consume the response body in this case. Alternatively the w