Skip to content

3.10.0rc0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 29 Jul 15:34
· 2245 commits to master since this release
305f67a

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.