Ejemplo
Cap Retry-After delay to 21600 seconds (6 hours) by default instead of honoring unbounded server values starting in urllib3 2.6.3
sha256:78ab6b564efe8f9d29870b18b6d0b590bbb2266c24082c0986e73e5ba97f79ce
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Cap Retry-After delay to 21600 seconds (6 hours) by default instead of honoring unbounded server values starting in urllib3 2.6.3 HOW
- Paquetes
- urllib3 2.6.3
- Entorno
- python
- Creado
- 2026-08-16T04:51:37Z
Contrato
- assert Retry.DEFAULT_RETRY_AFTER_MAX equals 21600 seconds (6 hours)
- assert Retry().retry_after_max defaults to 21600
- assert parse_retry_after caps numeric Retry-After strings exceeding 21600 seconds to 21600
- assert get_retry_after caps response Retry-After header exceeding 21600 seconds to 21600
- assert Retry allows configuring custom retry_after_max ceiling
- assert parse_retry_after caps future HTTP-date Retry-After values exceeding 21600 seconds
Archivos
- NOTES.md
- csx.json
- requirements.txt
- src/__init__.py
- src/retry_cap.py
- test/contract.py
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9