Re: [twsocket] THTTPCli and 307 or 308 redirects with non GET methods
Not easy to get it from the RFCs or from the online discussions, Can we please make a final decision if further redirect changes are needed now, just doing other updates. Angus -- 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
Re: [twsocket] THTTPCli and 307 or 308 redirects with non GET methods
Not easy to get it from the RFCs or from the online discussions, but I've now checked how Firefox and Chrome are implementing it Exactly, each browser has implemented redirection in different ways for different requests, there is no general consensus If you can just check MSIE as well, harder without source, we can be sure to following most browsers. Angus -- 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
Re: [twsocket] THTTPCli and 307 or 308 redirects with non GET methods
This subject doesn't deserve not even a reply?! I'm the only one able to fix things here at the moment, and I have a lot of other priorities. But I'll put it on my list for next month. Angus -- 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
Re: [twsocket] THTTPCli and 307 or 308 redirects with non GET methods
But I'll put it on my list for next month. OK Angus. Thanks. -- 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
Re: [twsocket] THTTPCli and 307 or 308 redirects with non GET methods
This subject doesn't deserve not even a reply?! If the problem is where to try it, here is an online service to test HTTP redirects http://jigsaw.w3.org/HTTP/300/ Just put the next URL in the OverbyteIcsHttpTst application, and issue a POST request (without any data). http://jigsaw.w3.org/HTTP/300/Go_307/ 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
[twsocket] THTTPCli and 307 or 308 redirects with non GET methods
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