github aio-libs/aiohttp v3.12.2
3.12.2

latest releases: v3.13.2, v3.13.1, v3.13.0...
6 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.