MCPcopy
hub / github.com/tornadoweb/tornado / finish

Method finish

tornado/web.py:2484–2491  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2482 return None
2483
2484 def finish(self) -> None:
2485 if self.stream_request_body:
2486 future_set_result_unless_cancelled(self.request._body_future, None)
2487 else:
2488 # Note that the body gets parsed in RequestHandler._execute so it can be in
2489 # the right exception handler scope.
2490 self.request.body = b"".join(self.chunks)
2491 self.execute()
2492
2493 def on_connection_close(self) -> None:
2494 if self.stream_request_body:

Callers

nothing calls this directly

Calls 3

executeMethod · 0.95
joinMethod · 0.80

Tested by

no test coverage detected