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

Method __init__

python/python3/tornado/web.py:2280–2297  ·  view source on GitHub ↗
(
        self,
        application: Application,
        request: httputil.HTTPServerRequest,
        handler_class: Type[RequestHandler],
        handler_kwargs: Optional[Dict[str, Any]],
        path_args: Optional[List[bytes]],
        path_kwargs: Optional[Dict[str, bytes]],
    )

Source from the content-addressed store, hash-verified

2278
2279class _HandlerDelegate(httputil.HTTPMessageDelegate):
2280 def __init__(
2281 self,
2282 application: Application,
2283 request: httputil.HTTPServerRequest,
2284 handler_class: Type[RequestHandler],
2285 handler_kwargs: Optional[Dict[str, Any]],
2286 path_args: Optional[List[bytes]],
2287 path_kwargs: Optional[Dict[str, bytes]],
2288 ) -> None:
2289 self.application = application
2290 self.connection = request.connection
2291 self.request = request
2292 self.handler_class = handler_class
2293 self.handler_kwargs = handler_kwargs or {}
2294 self.path_args = path_args or []
2295 self.path_kwargs = path_kwargs or {}
2296 self.chunks = [] # type: List[bytes]
2297 self.stream_request_body = _has_stream_request_body(self.handler_class)
2298
2299 def headers_received(
2300 self,

Callers

nothing calls this directly

Calls 1

_has_stream_request_bodyFunction · 0.85

Tested by

no test coverage detected