Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many headers lost when gzip is done #6

Open
srchulo opened this issue Mar 10, 2019 · 0 comments
Open

Many headers lost when gzip is done #6

srchulo opened this issue Mar 10, 2019 · 0 comments

Comments

@srchulo
Copy link

srchulo commented Mar 10, 2019

Whenever a gzip is done successfully, important headers are lost, such as content-type, etag, and last-modified. I believe it is because of this line:

$res->content( Mojo::Content::Single->new );

It seems like this line intends to fix this issue, but it doesn't seem to be working:

res->fix_headers;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant