framework
por contentstack
Se usa para HTTPSConnection, sesión de requests, reintentos de urllib3 y tiempos de espera en contentstack-python.
npx skills add https://github.com/contentstack/contentstack-python --skill frameworkFramework / 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__.
Testing
- Integration — full stack via
tests/andconfig; unit-style assertions on URL building and headers where tests exist.