Skip to content

session not saved with web.FileResponse #640

Open
@Benj1

Description

@Benj1

I'm not sure if there's a reason to exclude it, but it seems that sessions aren't saved when response is an instance of web.FileResponse.
It gets excluded here when checking the type of the response:

if not isinstance(response, (web.Response, web.HTTPException)):
# likely got websocket or streaming
return response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions