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

Missing Accept-Encoding header should not result in compression #1

Closed
wants to merge 1 commit into from

Conversation

dobesv
Copy link
Owner

@dobesv dobesv commented May 14, 2020

I found that the existing test was not valid, because the supertest library provides a default value for Accept-Encoding, so the test for a missing Accept-Encoding header was just testing what happens with the default Accept-Encoding header.

Unfortunately the tests won't pass without a patch to superagent: ladjs/superagent#1560

@dobesv dobesv force-pushed the missing-accept-encoding-header branch from a68d849 to 48670e1 Compare May 14, 2020 07:20
@dobesv dobesv closed this May 14, 2020
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

Successfully merging this pull request may close these issues.

1 participant