Re: issue 325: When are Location's semantics triggered?, was: Protocols/APIs and redirects

On 14/12/2011, at 5:13 PM, Julian Reschke wrote:

> On 2011-12-14 18:04, Cameron Heavon-Jones wrote:
>> ...
>> I don't think it makes a difference, a response should be parsed irrespective of the request although i don't know that this is definitively the case.
>> I just checked Firefox and the same behaviour is seen, i would assume the same from the other browsers but i can do more tests to confirm.
>> ...
> What exactly did you check?
> I'm VERY sure that browsers automatically follow a 302 + Location upon page navigation, no matter whether there's a payload or not.
> Best regards, Julian

I setup the same form i used testing POST to encode into URI instead of form params and sent as GET. It produced a URI like this:


The response was the same as for POST, ie:

HTTP/1.1 302 Found
Content-Type    text/html
Content-Length  199
Server          Jetty(6.1.7)
        <p>Response Status: 302</p>
        <p>Response Reason: Found</p>

I don't think there's anything else?


Received on Wednesday, 14 December 2011 17:36:18 UTC