Skip to content

request ¤

Request dataclass ¤

Request(
    method: str,
    url: str,
    headers: CaseInsensitiveDict,
    body: Union[str, bytes],
)

A framework-agnostic representation of an HTTP request.