MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / do_OPTIONS

Method do_OPTIONS

test/test_browser.py:107–108  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

105 s.sendheaders()
106
107 def do_OPTIONS(s):
108 s.sendheaders([("Access-Control-Allow-Headers", "Range")], 0)
109
110 def do_GET(s):
111 # CORS preflight makes OPTIONS requests which we need to account for.

Callers

nothing calls this directly

Calls 1

sendheadersMethod · 0.80

Tested by

no test coverage detected