Re: #160: Redirects and non-GET methods

Just for the record -- these tests need to be rewritten, ideally from scratch. That said...

On 06/08/2011, at 8:48 PM, Julian Reschke wrote:

> - the tests apparently fail to handle HEAD properly, as they used the response body to echo the method name; maybe this can be fixed by moving it into a custom response header

Fixed.

> - the tests report a failure if POST->301/302 is rewritten to GET; it might be useful to note that this may become compliant in HTTPbis (that's our intent, right?)

If that happens, yes.

> - I'm a bit unsure about what we should say about HEAD->303. IE's XHR apparently rewrites to GET, but the result probably doesn't make a difference for users of XHR. However, do we need to clarify the text about 303?

Well, the idea of HEAD is to avoid the transfer of the body, so my initial thought is that it should be preserved.

Cheers,

--
Mark Nottingham   http://www.mnot.net/

Received on Monday, 8 August 2011 05:11:03 UTC