Generate httpx async HTTP clients with connection pooling, retry middleware, timeout configuration, and streaming responses.
Act as a Python httpx expert. Build an async client for [API_BASE_URL]. Configure connection pool with [POOL_LIMITS]. Add retry middleware for [RETRY_STATUS_CODES]. Set timeouts for [TIMEOUT_CONFIG] (connect, read, write). Stream large responses for [DOWNLOAD_ENDPOINTS]. Handle auth with [AUTH_STRATEGY] (Bearer, OAuth2).
Free to copy and use. Compatible with Claude 4 Opus, GPT-5, Llama 4.
Provide API base URL, pool limits, retry status codes, timeout config, download endpoints, and auth strategy.
Initial release
Sign in and download this prompt to leave a review.