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

Method get

python/python3/tornado/test/web_test.py:1608–1612  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1606class ClearHeaderTest(SimpleHandlerTestCase):
1607 class Handler(RequestHandler):
1608 def get(self):
1609 self.set_header("h1", "foo")
1610 self.set_header("h2", "bar")
1611 self.clear_header("h1")
1612 self.clear_header("nonexistent")
1613
1614 def test_clear_header(self):
1615 response = self.fetch("/")

Callers

nothing calls this directly

Calls 2

set_headerMethod · 0.80
clear_headerMethod · 0.80

Tested by

no test coverage detected