Skip to content

Commit 76fc1a2

Browse files
committed
Add last-event-id to CORS-safelisted request headers
Since EventSource implementations in most environments already send this header without CORS preflight request, it makes sense to make it a safelisted header. Fixes #568
1 parent bdb452e commit 76fc1a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fetch.bs

+1
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,7 @@ is a <dfn export>CORS-safelisted request-header</dfn>, run these steps:
984984

985985
<dl class=switch>
986986
<dt>`<code>accept</code>`
987+
<dt>`<code>last-event-id</code>`
987988
<dd>
988989
<p>If <var>value</var> contains a <a>CORS-unsafe request-header byte</a>, then return false.
989990

0 commit comments

Comments
 (0)