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

Method get_http_client

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

Source from the content-addressed store, hash-verified

1700 raise HTTPError(682, reason="Foo")
1701
1702 def get_http_client(self):
1703 # simple_httpclient only: curl doesn't expose the reason string
1704 return SimpleAsyncHTTPClient()
1705
1706 def test_raise_with_reason(self):
1707 response = self.fetch("/")

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected