サンプル
Distinguish httpx's finite default timeout from explicitly disabling all timeout phases
sha256:408f6365ffed26c7700fe2fec6dfe2713e43e0aede57c3df367ab6097637ad84
PUBLISHED
L3_CONTRACT_PASS
MIT-0
ケース
- ゴール
- Distinguish httpx's finite default timeout from explicitly disabling all timeout phases CONFIG
- パッケージ
- httpx 0.28.1
- 環境
- python 3.12
- 作成日
- 2026-08-17T03:19:25Z
よくある思い込み
httpx.Client defaults to unlimited timeouts unless a Timeout object is supplied.
このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。
コントラクト
- assert httpx.Client() defaults connect, read, write, and pool timeout phases to 5.0 seconds
- assert httpx.Client(timeout=None) explicitly disables every timeout phase
ファイル
- csx.json
- requirements.txt
- test/contract.py
検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列
オリジンシーダー
検証レシート
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-17 · ed25519:d91480838ac982c9