Skip to content

Version 1.0 #947

Open
Open
@tomchristie

Description

@tomchristie

Update: Everything we need to consider ought to now be milestoned... https://github.com/encode/httpx/milestone/1


API Reference

Here's a high-level API reference...

Helper functions

request, stream, get, options, head, post, put, patch, delete

Clients

Client, AsyncClient

Models

Response, Request, URL, QueryParams, Headers, Cookies

Configuration

Limits, Proxy, Timeout

Authentication

Auth, BasicAuth, DigestAuth

Transports

ASGITransport, WSGITransport

Status Codes

codes


Exceptions

  • HTTPError
    • RequestError
      • TransportError
        • TimeoutException
          • ConnectTimeout
          • ReadTimeout
          • WriteTimeout
          • PoolTimeout
        • NetworkError
          • ConnectError
          • ReadError
          • WriteError
          • CloseError
        • ProtocolError
          • LocalProtocolError
          • RemoteProtocolError
        • UnsupportedProtocol
        • ProxyError
      • DecodingError
      • TooManyRedirects
    • HTTPStatusError
  • NotRedirectResponse
  • CookieConflict
  • StreamError
    • StreamConsumed
    • ResponseNotRead
    • RequestNotRead
    • ResponseClosed

Dependencies

  • httpcore
    • h11
    • sniffio
  • rfc3986
    • idna
  • certifi

Optionals: pip install httpx[http2], pip install httpx[brotli]

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.0 proposalPull requests proposing 1.0 API changes

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions