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

Method get

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

Source from the content-addressed store, hash-verified

1762class ClearHeaderTest(SimpleHandlerTestCase):
1763 class Handler(RequestHandler):
1764 def get(self):
1765 self.set_header("h1", "foo")
1766 self.set_header("h2", "bar")
1767 self.clear_header("h1")
1768 self.clear_header("nonexistent")
1769
1770 def test_clear_header(self):
1771 response = self.fetch("/")

Callers

nothing calls this directly

Calls 2

set_headerMethod · 0.80
clear_headerMethod · 0.80

Tested by

no test coverage detected