pypi aiohttp 3.10.0rc0

latest releases: 3.10.5, 3.10.4, 3.10.3...
one month ago

Bug fixes

  • Adjusted FileResponse to check file existence and access when preparing the response -- by :user:steverep.

    The :py:class:~aiohttp.web.FileResponse class was modified to respond with
    403 Forbidden or 404 Not Found as appropriate. Previously, it would cause a
    server error if the path did not exist or could not be accessed. Checks for
    existence, non-regular files, and permissions were expected to be done in the
    route handler. For static routes, this now permits a compressed file to exist
    without its uncompressed variant and still be served. In addition, this
    changes the response status for files without read permission to 403, and for
    non-regular files from 404 to 403 for consistency.

    Related issues and pull requests on GitHub:
    #8182.

Removals and backward incompatible breaking changes

Miscellaneous internal changes

  • Improve performance of filtering cookies -- by :user:bdraco.

    This change is a followup to the improvements in #7583

    Related issues and pull requests on GitHub:
    #8535.


Don't miss a new aiohttp release

NewReleases is sending notifications on new releases.