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

Method get

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

Source from the content-addressed store, hash-verified

1697class RaiseWithReasonTest(SimpleHandlerTestCase):
1698 class Handler(RequestHandler):
1699 def get(self):
1700 raise HTTPError(682, reason="Foo")
1701
1702 def get_http_client(self):
1703 # simple_httpclient only: curl doesn't expose the reason string

Callers

nothing calls this directly

Calls 1

HTTPErrorClass · 0.90

Tested by

no test coverage detected