Skip to content
Myr

examples: tweak cors example

Before adoption: this commit came in with the history the project adopted, so no landing records it.

The PUT method needs clearance from the server, unlike GET, HEAD and POST, so this demonstrates a case where the method in the response is important. closes #2195

authored by Carlos Souza · committed by Douglas Christopher Wilson · parent 10618ce · Browse files · 2 files+6 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+6 added−6 removed

  • other:+6 added−6 removed

2 files+6 added−6 removed

modified:examples/cors/public/index.html+2 added-2 removed
modified:examples/cors/index.js+4 added-4 removed