| name | framework |
|---|---|
| description | HTTP layer for the Python CDA SDK — requests Session, urllib3 retries, HTTPSConnection. |
contentstack/stack.pyconstructsHTTPSConnectionwith endpoint, headers, timeout,retry_strategy(urllib3.Retry), and live_preview.contentstack/https_connection.pymountsHTTPAdapter(max_retries=...)and callsget_requestfromcontentstack/controller.py.
- Retry / timeout behavior: align
Stackdefaults withHTTPSConnectionandHTTPAdapterusage; avoid breaking existingRetryconstructor expectations. - Headers / user-agent —
user_agents()inhttps_connection.pyusescontentstack.__title__and__version__.
- Integration — full stack via
tests/andconfig; unit-style assertions on URL building and headers where tests exist.