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

Method get

tornado/test/httpclient_test.py:107–109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105
106class ContentLength304Handler(RequestHandler):
107 def get(self):
108 self.set_status(304)
109 self.set_header("Content-Length", 42)
110
111 def _clear_representation_headers(self):
112 # Tornado strips content-length from 304 responses, but here we

Callers

nothing calls this directly

Calls 2

set_statusMethod · 0.80
set_headerMethod · 0.80

Tested by

no test coverage detected