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

Method get

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

Source from the content-addressed store, hash-verified

3067class RequestSummaryTest(SimpleHandlerTestCase):
3068 class Handler(RequestHandler):
3069 def get(self):
3070 # remote_ip is optional, although it's set by
3071 # both HTTPServer and WSGIAdapter.
3072 # Clobber it to make sure it doesn't break logging.
3073 self.request.remote_ip = None
3074 self.finish(self._request_summary())
3075
3076 def test_missing_remote_ip(self):
3077 resp = self.fetch("/")

Callers

nothing calls this directly

Calls 2

_request_summaryMethod · 0.80
finishMethod · 0.45

Tested by

no test coverage detected