2.34.1 (2026-05-13)
Bugfixes
- Widened
jsoninput type fromdictandlisttoMapping
andSequence. (#7436) - Changed
headersinput type to MutableMapping and removedNonefrom
Request.headerstyping to improve handling for users. (#7431) Response.reasonmoved fromstr | Nonetostrto improve handling
for users. (#7437)- Fixed a bug where some bodies with custom
__getattr__implementations
weren't being properly detected as Iterables. (#7433)
New Contributors
Full Changelog: https://github.com/psf/requests/blob/main/HISTORY.md#2341-2026-05-13