<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19315</bug_id>
          
          <creation_ts>2012-10-07 04:45:27 +0000</creation_ts>
          <short_desc>Last-Event-ID header should be a simple header</short_desc>
          <delta_ts>2013-10-28 14:19:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsSec</product>
          <component>CORS</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>17042</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>vic99999</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mike</cc>
    
    <cc>public-webappsec</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75501</commentid>
    <comment_count>0</comment_count>
    <who name="">vic99999</who>
    <bug_when>2012-10-07 04:45:27 +0000</bug_when>
    <thetext>&quot;Last-Event-ID&quot; header, used by EventSource - http://dev.w3.org/html5/eventsource/ , should be a simple header

EventSource already allows CORS with this header without preflight

http://hg.mozilla.org/releases/mozilla-release/file/dc25520cbe46/content/base/src/nsXMLHttpRequest.cpp#l3277

Thanks

P.S.

Seems, Firefox allows to use this headers for simple CORS request:
accept, accept-language, content-language, content-type, last-event-id

And Webkit allows:
accept, accept-language, content-language, content-type, origin, referer</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76104</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-10-12 13:44:28 +0000</bug_when>
    <thetext>That EventSource uses it does not mean everyone should be allowed to use it without preflight. It&apos;s just part of the EventSource protocol; it&apos;s not an author request header.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76106</commentid>
    <comment_count>2</comment_count>
    <who name="">vic99999</who>
    <bug_when>2012-10-12 14:43:23 +0000</bug_when>
    <thetext>EventSource can not be polyfilled with XMLHttpRequest without it.

If EventSource can do this with CORS and passing through redirects, then there is no risks.
What is a main problem to include this header in simples headers list?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76107</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-10-12 14:57:27 +0000</bug_when>
    <thetext>Isn&apos;t it too late to polyfill?

EventSource is much more limited in scope than XMLHttpRequest is, so there is some (largely theoretical) risk.

I don&apos;t really mind either way, I suggest talking to some implementors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76115</commentid>
    <comment_count>4</comment_count>
    <who name="">vic99999</who>
    <bug_when>2012-10-12 16:16:08 +0000</bug_when>
    <thetext>&gt;&gt;Isn&apos;t it too late to polyfill?

I think, it is not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80333</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-12-18 11:02:05 +0000</bug_when>
    <thetext>We decided at the F2F that we do not want to expand the list of simple headers. We want to make CORS more stable and this proposal does not have much merit (EventSource is in almost all browsers already, and in those it is not Last-Event-ID is not a simple header either so that doesn&apos;t help either way), and therefore is rejected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95433</commentid>
    <comment_count>6</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-10-28 14:19:28 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 17042 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>