Skip to main content

_HttpxResponse

crawlee.http_clients._httpx._HttpxResponse

Adapter class for httpx.Response to conform to the HttpResponse protocol.

Index

Constructors

Methods

Properties

Constructors

__init__

  • __init__(response): None
  • Parameters

    • response: httpx.Response

    Returns None

Methods

read

  • read(): bytes
  • Returns bytes

Properties

headers

headers: HttpHeaders

http_version

http_version: str

status_code

status_code: int