W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: [XHR2] HTTP Trailers

From: Maciej Stachowiak <mjs@apple.com>
Date: Sun, 31 Oct 2010 13:27:33 +0000
Cc: Anne van Kesteren <annevk@opera.com>, public-webapps@w3.org, Mark Nottingham <mnot@mnot.net>
Message-id: <F5A5E055-300A-4094-9CD7-287EBCDB354A@apple.com>
To: Julian Reschke <julian.reschke@gmx.de>

On Oct 26, 2010, at 12:02 PM, Julian Reschke wrote:

> On 26.10.2010 12:12, Anne van Kesteren wrote:
>> ...
>> If they were exposed via getResponseHeader() you would have the
>> potential for clashes so that does not seem like a good idea.
>> ...
> 
> The clashes would be the same as for any repeating header, right?

Pre-existing XHR code might get confused if the results from getResponseHeader() change in the course of loading more of the stream. Seems safer to keep it separate, if it is useful to pass this info at all. Also, header fields like Content-Type are probably not going to have their usual effect if sent as trailers. So it's good to distinguish for that reason too.

Regards,
Maciej
Received on Sunday, 31 October 2010 13:28:14 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:41 GMT