To the server to send POST, be redirected when the correct way is to GET a redirect url,
But IdHttp unexpectedly again to redirect url using POST submit the user name and password, lead to the wrong return
I am using Indy8.0, had changed to 9.0?
CodePudding user response:
320 redirect is needed in XE5 solve like this:1, will TIdHTTP controls HandleRedirects is set to true to automatically jump
2, after the jump automatically if continue to throw an exception EIDConnClosedGracefully, HTTPOptions can be set to [hoInProcessAuth hoKeepOrigProtocol, hoForceEncodeParams]