Attention

This is the documentation for HARP Proxy, actually published as an early preview. Both the software and documentation are a work in progress, and although we already use it on various production servers, they may contain inaccuracies, typographical errors, huge mistakes and empty pages. We work hard to eradicate all mistakes and implement stuff, but it is a long and tedious process. We appreciate your patience and understanding. Of course, any help will be greatly appreciated.

harp.http.responses

class AlreadyHandledHttpResponse[source]

Bases: HttpResponse

__init__()[source]
class HttpResponse[source]

Bases: BaseHttpMessage

__init__(body, /, *, status=200, headers=None, content_type=None)[source]
Parameters:
property body: bytes
property content_type: str
created_at: datetime
property headers: CIMultiDict
kind: str = 'response'
property status: int
class JsonHttpResponse[source]

Bases: HttpResponse

__init__(body, /, *, status=200, headers=None)[source]
Parameters: