Sourced from requests's releases.
v2.34.2
2.34.2 (2026-05-14)
- Moved
headersinput type back toMappingto avoid invariance issues withMutableMappingand inferred dict types. Users callingRequest.headers.update()may need to narrow typing in their code. (#7441)Full Changelog: https://github.com/psf/requests/blob/main/HISTORY.md#2342-2026-05-14
Sourced from requests's changelog.
2.34.2 (2026-05-14)
- Moved
headersinput type back toMappingto avoid invariance issues withMutableMappingand inferred dict types. Users callingRequest.headers.update()may need to narrow typing in their code. (#7441)
6e83187
v2.34.284d10f0
Move Request.headers back to Mapping (#7441)