On 09-07-2014 11:12, Angus Robertson - Magenta Systems Ltd wrote:
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.
Last time, after checking the chrome and firefox source, I proposed the
next line that does exactly what these browsers do.
if ((FStatusCode=303) and (FRequestType <> httpHEAD)) or
((FRequestType = httpPOST) and ((FStatusCode=301) or
(FStatusCode=302))) then
FRequestType := httpGET;
IE does it differently for the 303 and 308
(http://greenbytes.de/tech/tc/httpredirects/), but I suppose we are fine
if adopting the majority of the browsers behavior.
--
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