W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > April 2009

Re: HTTP redirects: MUST follow?

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 28 Apr 2009 14:05:29 -0400
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2eivcy7py.fsf@nwalsh.com>
Florent Georges <fgeorges@fgeorges.org> writes:
>   I've seen the last editor draft has added a few words about
> redirects for http-request:
>
>     7.1.10.3.1 Redirects
>
>     The p:http-request step must follow redirect requests (3xx
>     status codes) if they are returned by the server.
>
>   But from the top of my head, I think the HTTP spec carefully
> use MUST, SHOULD, MUST NOT, etc. to qualify whether a client
> should follow or not a redirect.  I think for instance that a
> client cannot follow a redirect in response to a POST or a PUT,
> if I am right.
>
>   Clearly, having a uniform redirect-following policy on every
> implementations would be nice, but I wonder if the above sentence
> is really helpful for that purpose.

I've updated that section, changing the requirement to a SHOULD and
making explicit reference to HTTP semantics. Please let me know if you
are unhappy with this resolution.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Don't despair, not even over the fact
http://nwalsh.com/            | that you don't despair.-- Kafka

Received on Tuesday, 28 April 2009 18:06:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 28 April 2009 18:06:11 GMT