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

Method initialize

src/ext/sockjs/tornado/static.py:119–121  ·  view source on GitHub ↗
(self, server)

Source from the content-addressed store, hash-verified

117class InfoHandler(PreflightHandler):
118 """SockJS 0.2+ /info handler"""
119 def initialize(self, server):
120 self.server = server
121 self.access_methods = 'OPTIONS, GET'
122
123 def get(self):
124 self.preflight()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected