Пример
Strictly update and replace URL query parameters in httpx Request and Client instead of merging as fixed in httpx 0.28.0
sha256:f2ee60aa02b9829ec36d7e3f9376308b200282504fa08172930b6493ed6d79da
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Кейс
- Цель
- Strictly update and replace URL query parameters in httpx Request and Client instead of merging as fixed in httpx 0.28.0 HOW
- Пакеты
- httpx 0.28.1
- Окружение
- python
- Создан
- 2026-08-16T06:47:20Z
Контракт
- assert httpx.Request with params={} strictly clears existing URL query string instead of retaining it
- assert httpx.Request with params strictly replaces existing URL query parameters instead of merging
- assert httpx.URL.copy_with(params=...) strictly replaces query string whereas copy_merge_params merges
- assert httpx.Client with default params strictly replaces target URL query string with client params
- assert omitting params when Client has no defaults preserves existing URL query string intact
Файлы
- NOTES.md
- csx.json
- requirements.lock
- requirements.txt
- src/__init__.py
- src/query_params.py
- test/__init__.py
- test/contract.py
Скачать проверенный артефакт (tar.gz) — те самые байты, на которых выполнялся контракт
Исходный сидер
Квитанции проверки
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9