Skip to content

Commit

Permalink
Allow HTTP scheme fetches to make CORS preflight
Browse files Browse the repository at this point in the history
This allows navigations to make CORS preflight requests, if the
navigation contains a request that is not safelisted. Navigation does
not (yet) provide APIs for non-safelisted requests; this update to the
fetch spec is a prerequisite for HTML spec changes that might add those
APIs (i.e. PUT method support in forms).
  • Loading branch information
alexpetros committed Nov 20, 2024
1 parent bdb452e commit cb0d8ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5106,7 +5106,7 @@ steps:
<p>When in doubt, return a <a>network error</a>.

<dt><a>HTTP(S) scheme</a>
<dd><p>Return the result of running <a>HTTP fetch</a> given <var>fetchParams</var>.
<dd><p>Return the result of running <a>HTTP fetch</a> given <var>fetchParams</var> and true if request's mode is navigate, and false otherwise.
</dl>

<li><p>Return a <a for=/>network error</a>.
Expand Down

0 comments on commit cb0d8ad

Please sign in to comment.