MCPcopy Create free account
hub / github.com/EasyIME/PIME / prepare

Method prepare

python/python3/tornado/test/websocket_test.py:103–106  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101 self.set_header("X-Extra-Response-Header", "Extra-Response-Value")
102
103 def prepare(self):
104 for k, v in self.request.headers.get_all():
105 if k.lower().startswith("x-test"):
106 self.set_header(k, v)
107
108
109class NonWebSocketHandler(RequestHandler):

Callers

nothing calls this directly

Calls 2

get_allMethod · 0.80
set_headerMethod · 0.80

Tested by

no test coverage detected