Hi everyone,
The 307 and 308 redirects must maintain the same request method, and not revert to GET as with other redirects.

This can be handled by changing, in the unit OverbyteIcsHttpProt methods LocationSessionClosed and StartRelocation, the line:

        if FRequestType = httpPOST then
to
if (FRequestType <> httpGET) and not ((statuscode=307) or (statuscode=308)) then

Anyone seeing any inconvenient with this change?
If not, please someone to add this to the svn.
If yes, what's the best alternative to handle it?

Thanks,
Rui


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to