| name | framework |
|---|---|
| description | Use for HTTPSConnection, requests session, urllib3 retries, and timeouts in contentstack-python. |
- Editing
contentstack/https_connection.pyorcontentstack/controller.py. - Changing retry policy, timeouts, or
requestssession configuration. - Debugging connection or retry failures.
contentstack/stack.pyconstructsHTTPSConnectionwithendpoint,headers,timeout,retry_strategy(urllib3.Retry), andlive_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.