Skip to content

Response is compressed when not requested #485

@pferrot

Description

@pferrot

I have a backend application that supports optional response compression (see here for details).

Since 1.0 RC3, the response is compressed even if not requested. E.g. I hit http://myserver/path/to/service/version with my browser: it is supposed to return some JSON, but the browser actually prompts me to download a version.gzfile, which itself contains a version file with the actual JSON. This was not the case with previous versions (inculding RC2), i.e. I would see the actual JSON in the browser window.

It looks like (just guesses, I did not do much investigation) that Traefik now requests the response to be compressed from the backend but does not uncompress it before sending it to the original client...!?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions