Skip to main content

_CurlImpersonateResponse

Adapter class for curl_cffi.requests.Response to conform to the HttpResponse protocol.

Index

Methods

__init__

  • __init__(*, response): None
  • Parameters

    • optionalkeyword-onlyresponse: Response

    Returns None

read

  • read(): bytes
  • Returns bytes

Properties

headers

headers: HttpHeaders

http_version

http_version: str

status_code

status_code: int