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

Method get

tornado/test/web_test.py:1908–1912  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1906class GzipTestCase(SimpleHandlerTestCase):
1907 class Handler(RequestHandler):
1908 def get(self):
1909 for v in self.get_arguments("vary"):
1910 self.add_header("Vary", v)
1911 # Must write at least MIN_LENGTH bytes to activate compression.
1912 self.write("hello world" + ("!" * GZipContentEncoding.MIN_LENGTH))
1913
1914 def get_app_kwargs(self):
1915 return dict(

Callers

nothing calls this directly

Calls 3

get_argumentsMethod · 0.80
add_headerMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected