<?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>17042</bug_id>
          
          <creation_ts>2012-05-13 09:02:06 +0000</creation_ts>
          <short_desc>Last-Event-ID is not 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 XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <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-webapps</cc>
    
    <cc>public-webappsec</cc>
    
    <cc>vic99999</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>67636</commentid>
    <comment_count>0</comment_count>
    <who name="">vic99999</who>
    <bug_when>2012-05-13 09:02:06 +0000</bug_when>
    <thetext>Server-sent-events use this header with CORS
http://www.w3.org/TR/eventsource/#last-event-id</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67637</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-05-13 10:12:25 +0000</bug_when>
    <thetext>More importantly, it&apos;s not an author request header.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67714</commentid>
    <comment_count>2</comment_count>
    <who name="">vic99999</who>
    <bug_when>2012-05-15 10:37:06 +0000</bug_when>
    <thetext>@Anne,
LOL!!!
thank you for your understanding
you just stop polyfilling Server sent events with XMLHttpRequest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67715</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-05-15 10:39:48 +0000</bug_when>
    <thetext>Ah yes, that would indeed not work without a preflight request. Is that a big problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67716</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-05-15 10:40:31 +0000</bug_when>
    <thetext>Also, at this time it seems easier to get browsers to add EventSource support than to change their CORS implementations yet again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67717</commentid>
    <comment_count>5</comment_count>
    <who name="">vic99999</who>
    <bug_when>2012-05-15 10:46:22 +0000</bug_when>
    <thetext>+
Last-Event-ID can be setted with help of EventSource, than disconnect + redirect 
can be done to make request with &quot;Last-Event-ID&quot; header to some other site.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67721</commentid>
    <comment_count>6</comment_count>
    <who name="">vic99999</who>
    <bug_when>2012-05-15 10:52:53 +0000</bug_when>
    <thetext>or may be it is time to drop Server sent events...
and move to WebSockets</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67724</commentid>
    <comment_count>7</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-05-15 10:59:24 +0000</bug_when>
    <thetext>I don&apos;t understand comment 5. WebSocket is great, but quite different from EventSource and EventSource is not going away at this point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67732</commentid>
    <comment_count>8</comment_count>
    <who name="">vic99999</who>
    <bug_when>2012-05-15 11:32:37 +0000</bug_when>
    <thetext>comment #5:
EventSource allows to make requests with &quot;Last-Event-ID&quot; header without preflight.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91877</commentid>
    <comment_count>9</comment_count>
    <who name="">vic99999</who>
    <bug_when>2013-08-12 05:22:22 +0000</bug_when>
    <thetext>https://github.com/mozilla/releases-mozilla-central/blob/master/content/base/src/nsXMLHttpRequest.cpp#L3037</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91896</commentid>
    <comment_count>10</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-08-12 13:47:59 +0000</bug_when>
    <thetext>That seems like a bug in Gecko to me. We also instruct the browser to set Referer and Origin to certain values. They&apos;re not simple either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95434</commentid>
    <comment_count>11</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-10-28 14:19:28 +0000</bug_when>
    <thetext>*** Bug 19315 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>