module documentation

Undocumented

Class Response Represents an outgoing WSGI HTTP response with body, status, and headers. Has properties and methods for using the functionality defined by various HTTP specs.
Class ResponseStream A file descriptor like object used by :meth:`Response.stream` to represent the body of the stream. It directly pushes into the response iterable of the response object.
Function _clean_accept_ranges Undocumented
Function _iter_encoded Undocumented
Function _warn_if_string Helper for the response objects to check if the iterable returned to the WSGI server is not a string.
def _clean_accept_ranges(accept_ranges: t.Union[bool, str]) -> str: (source)

Undocumented

def _iter_encoded(iterable: t.Iterable[t.Union[str, bytes]], charset: str) -> t.Iterator[bytes]: (source)

Undocumented

def _warn_if_string(iterable: t.Iterable): (source)

Helper for the response objects to check if the iterable returned to the WSGI server is not a string.