Functions#
__call__#
__call__(path, status, status_text, headers, start, end, content_length) -> HttpServerResponse| Parameter | Type | Description |
|---|---|---|
path | str | |
status | int | |
status_text | str | None | |
headers | Headers | |
start | int | |
end | int | None | |
content_length | int |
Returns HttpServerResponse
def __call__( # noqa: PLR0917
self,
path: str,
status: int,
status_text: str | None,
headers: Headers,
start: int,
end: int | None,
content_length: int,
/,
) -> HttpServerResponse: ...