universal Module

This module represents universal policy that works whatever the HTTPSender implementation

Classes

HTTPLogger

A policy that logs HTTP request and response to the DEBUG logger.

This accepts both global configuration, and kwargs request level with "enable_http_logger"

HeadersPolicy

A simple policy that sends the given headers with the request.

This overwrite any headers already defined in the request.

RawDeserializer
UserAgentPolicy