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,retrystrategy(urllib3.Retry), andlivepreview.contentstack/httpsconnection.pymountsHTTPAdapter(maxretries=...)and callsget_requestfromcontentstack/controller.py.
When to change
- Retry / timeout behavior: align
Stackdefaults withHTTPSConnectionandHTTPAdapterusage; avoid breaking existingRetryconstructor expectations. - Headers / user-agent:
useragents()inhttpsconnection.pyusescontentstack.titleandversion.
Testing
- Integration — full stack via
tests/andconfig; unit-style assertions on URL building and headers where tests exist.