MCPcopy
hub / github.com/tornadoweb/tornado / get

Method get

tornado/test/curl_httpclient_test.py:131–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

129
130class ProxyAuthEchoHandler(RequestHandler):
131 def get(self):
132 if self.request.headers.get("Proxy-Authorization", None) is not None:
133 self.write(f"proxy auth: {self.request.headers['Proxy-Authorization']}")
134 else:
135 self.write("no proxy auth")
136
137
138@unittest.skipIf(pycurl is None, "pycurl module not present")

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected