framework
Installation
SKILL.md
Framework / HTTP – Contentstack Python CDA SDK
When to use
- Editing
contentstack/https_connection.pyorcontentstack/controller.py. - Changing retry policy, timeouts, or
requestssession configuration. - Debugging connection or retry failures.
Instructions
Integration point
contentstack/stack.pyconstructsHTTPSConnectionwithendpoint,headers,timeout,retry_strategy(urllib3.Retry), andlive_preview.contentstack/https_connection.pymountsHTTPAdapter(max_retries=...)and callsget_requestfromcontentstack/controller.py.
When to change
- Retry / timeout behavior: align
Stackdefaults withHTTPSConnectionandHTTPAdapterusage; avoid breaking existingRetryconstructor expectations. - Headers / user-agent:
user_agents()inhttps_connection.pyusescontentstack.__title__and__version__.