MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / verify_origin

Method verify_origin

src/ext/sockjs/tornado/basehandler.py:127–130  ·  view source on GitHub ↗

Verify if request can be served

(self)

Source from the content-addressed store, hash-verified

125 self.set_header('Access-Control-Allow-Credentials', 'true')
126
127 def verify_origin(self):
128 """Verify if request can be served"""
129 # TODO: Verify origin
130 return True

Callers 1

optionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected