ClientΒΆ

The page contains all information about aiohttp Client API:

  • Quickstart
    • Make a Request
    • Passing Parameters In URLs
    • Response Content and Status Code
    • Binary Response Content
    • JSON Request
    • JSON Response Content
    • Streaming Response Content
    • More complicated POST requests
    • POST a Multipart-Encoded File
    • Streaming uploads
    • WebSockets
    • Timeouts
  • Advanced Usage
    • Client Session
    • Custom Request Headers
    • Authentication
    • Custom Cookies
    • Response Headers and Cookies
    • Redirection History
    • Cookie Jar
      • Cookie Safety
      • Cookie Quoting Routine
      • Dummy Cookie Jar
    • Uploading pre-compressed data
    • Disabling content type validation for JSON responses
    • Client Tracing
    • Connectors
      • Limiting connection pool size
      • Tuning the DNS cache
      • Resolving using custom nameservers
      • Unix domain sockets
      • Named pipes in Windows
    • SSL control for TCP sockets
      • Example: Use certifi
      • Example: Use self-signed certificate
      • Example: Verify certificate fingerprint
    • Proxy support
    • Persistent session
    • Graceful Shutdown
    • HTTP Pipelining
    • Character Set Detection
  • Reference
    • Client Session
    • Basic API
    • Connectors
    • Response object
    • ClientWebSocketResponse
    • Utilities
      • FormData
    • Client exceptions
      • Response errors
      • Connection errors
      • Hierarchy of exceptions
  • Tracing Reference
    • Request life cycle
      • Overview
      • Connection acquiring
      • DNS resolving
    • Classes
  • The aiohttp Request Lifecycle
    • Why is aiohttp client API that way?
    • Using a session as a best practice
    • How to use the ClientSession ?

Logo

aiohttp

Async HTTP client/server for asyncio and Python

  • Azure Pipelines CI status
  • Code coverage status
  • Latest PyPI package version
  • Chat on Gitter

Navigation

  • Client
    • Quickstart
    • Advanced Usage
    • Reference
    • Tracing Reference
    • The aiohttp Request Lifecycle
  • Server
  • Utilities
  • FAQ
  • Miscellaneous
  • Who uses aiohttp?
  • Contributing

Quick search

©aiohttp contributors. | Powered by Sphinx 1.8.6 | Page source
Fork me on GitHub