Skip to content

Compression Middleware needs to check status code #382

@RXminuS

Description

@RXminuS

Right now the compression middleware compresses any response and subsequently writes a 200 status code. However if for instance a 400 is returned we want to not send a 200 status code down; other compression middlewares seem to not compress if this is the case.

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