interface documentation

class IHTTPResponse(IHTTPMessage): (source)

Known implementations: klein._response.FrozenHTTPResponse

View In Hierarchy

HTTP response.

Attribute status Response status code.

Inherited from IHTTPMessage:

Async Method bodyAsBytes The entity body, as bytes.
Method bodyAsFount The entity body, as a fount.
Attribute headers Entity headers.
status: int = (source)

Response status code.