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 ​Response​Stream A file descriptor like object used by the ResponseStreamMixin to represent the body of the stream. It directly pushes into the response iterable of the response object.
Class ​Response​Stream​Mixin Undocumented
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):

Undocumented

Parameters
accept​_ranges:t.Union[bool, str]Undocumented
Returns
strUndocumented
def _iter_encoded(iterable, charset):

Undocumented

Parameters
iterable:t.Iterable[t.Union[str, bytes]]Undocumented
charset:strUndocumented
Returns
t.Iterator[bytes]Undocumented
def _warn_if_string(iterable):
Helper for the response objects to check if the iterable returned to the WSGI server is not a string.
Parameters
iterable:t.IterableUndocumented