WinGate V 9.4.5 Build 6015
I have configured WinGate to act as a proxy with NTLM authentication. This works with my software for GET requests, but does not work for POST requests - they return (after 3 attempts) with a 407 Authentication required.
Digging into the logs, when a GET request is issued, WinGate responds with
HTTP/1.1 407 Proxy authorization required<EOL>Proxy-Authenticate: NTLM<EOL>.....<EOL>Connection: Keep-Alive<EOL>...
The POST request response is as follows:
HTTP/1.1 407 Proxy authorization required<EOL>Proxy-Authenticate: NTLM<EOL>.....<EOL>Proxy-Connection: Keep-Alive<EOL>.....
My software responds to the GET 407 message with the initial message plus an <EOL>Proxy-Authorization: NTLM ....." header, but with the POST, it disconnects and retries the first message.
The only difference I see is the Keep-Alive header. I don't know if this is different header is correct or not - I am very new to configuring Proxies.
Is there any way of changing the response in WinGate to respond with Connection: Keep-Alive rather than Proxy-Connection: Keep-Alive?
I am also checking with the software supplier if the different messaging is causing the disconnect/reconnect cycle failure
Thanks