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

Method get_http_client

python/python3/tornado/test/httpserver_test.py:1230–1233  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1228 return dict(body_timeout=3600, max_body_size=4096)
1229
1230 def get_http_client(self):
1231 # body_producer doesn't work on curl_httpclient, so override the
1232 # configured AsyncHTTPClient implementation.
1233 return SimpleAsyncHTTPClient()
1234
1235 def test_small_body(self):
1236 response = self.fetch("/buffered", method="PUT", body=b"a" * 4096)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected