W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: [XHR] Redirects

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 15 Sep 2010 11:40:51 +0200
Message-ID: <4C9094A3.5040402@gmx.de>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: WebApps WG <public-webapps@w3.org>
On 15.09.2010 10:44, Boris Zbarsky wrote:
> On 9/15/10 1:37 AM, Julian Reschke wrote:
>> What browsers do today is a bug per spec.
> Well, yes, but they implemented it that way as a specific workaround for
> broken servers, no?

I'm not sure about that.

>> Use cases for XHR are not identical to surfing web pages. There are
>> protocols/implementations that expect method names to be preserved for
>> 301/302 (*), and an XHR2 with sane redirect handling should at least
>> make it possible to talk to these servers.
> OK, I almost buy this argument. I feel that we should require opt-in to
> this behavior difference, though, not do it by default.

Since this is a new feature (giving the caller control over redirects) 
I'd argue that the default should be compliant to the spec, and people 
would have to opt-in to something else. But minimally, the correct 
behavior needs to be available somehow.

Best regards, Julian
Received on Wednesday, 15 September 2010 09:41:28 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:27 UTC