(
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]],
)
| 2278 | |
| 2279 | class _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, |
nothing calls this directly
no test coverage detected