Skip to content

Commit

Permalink
set cors mode based on payload's object type
Browse files Browse the repository at this point in the history
Discussion: #32
  • Loading branch information
igrigorik committed Jun 29, 2016
1 parent ee1666a commit c28c6c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Expand Up @@ -447,6 +447,7 @@ <h2>Processing Model</h2>
object's byte stream (<var>transmittedData</var>) and MIME type
(<var>mimeType</var>).
</li>
<li>Let <var>corsMode</var> be set to "<code>cors</code>" if object's type is is <code>Blob</code> and "<code>no-cors</code>" otherwise.</li>
<li>Let <var>headerList</var> be null.</li>
</ul>
</li>
Expand Down Expand Up @@ -492,7 +493,7 @@ <h2>Processing Model</h2>
<dt>
<a>mode</a>
</dt>
<dd><i>CORS</i></dd>
<dd><var>corsMode</var></dd>
<dt>
<a>credentials mode</a>
</dt>
Expand Down

0 comments on commit c28c6c2

Please sign in to comment.