Module http

Module http 

Source
Expand description

Provides a centralized HTTP client configuration with:

  • Automatic retry logic for transient errors
  • Respect for server-provided Retry-After headers (429 rate limits)
  • Exponential backoff for other errors
  • Configurable timeouts

This client can be used across the entire agent for consistent HTTP behavior.

Functionsยง

build_http_client
Build a configured HTTP client with smart retry middleware