pypi aiohttp 3.12.2

latest releases: 3.12.15, 3.12.14, 3.12.13...
3 months ago

Bug fixes

  • Fixed Content-Length header not being set to 0 for non-GET requests with None body -- by :user:bdraco.

    Non-GET requests (POST, PUT, PATCH, DELETE) with None as the body now correctly set the Content-Length header to 0, matching the behavior of requests with empty bytes (b""). This regression was introduced in aiohttp 3.12.1.

    Related issues and pull requests on GitHub:
    #11035.


Don't miss a new aiohttp release

NewReleases is sending notifications on new releases.