W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2011

[whatwg] Enhancement request: change EventSource to allow cross-domain access

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 20 Jun 2011 12:28:02 -0700
Message-ID: <BANLkTinK-ThF39_jJOWGoATbQ-ZXzwHLZg@mail.gmail.com>
On Mon, Jun 20, 2011 at 7:13 AM, Per-Erik Brodin
<per-erik.brodin at ericsson.com> wrote:
> On 2011-06-20 12:53, Jonas Sicking wrote:
>> Headers that the implementation adds doesn't need to be added to this
>> list. For example the "Host" header is set by the browser in almost
>> all situations, but it does not need to be added to the list of
>> "simple headers". Indeed, adding in there would an out right bad idea.
>> So I'm not convinced that the Last-Event-ID header needs to be in the
>> list.
> Only "custom request headers" are matched against the list of "simple
> headers" and "Host" is not a custom header set by the EventSource
> implementation, hence there is no need to add it to the list.
> In XHR Level 2 the custom request headers are the "author request headers".
> An option would be to always match the list of simple headers against author
> request headers only.

It seems like you are saying exactly what I was saying? Am I missing something?

/ Jonas
Received on Monday, 20 June 2011 12:28:02 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:34 UTC