-
Notifications
You must be signed in to change notification settings - Fork 36
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
PR 110: new default #120
PR 110: new default #120
Conversation
The code, the tests, the docs.
Codecov Report
@@ Coverage Diff @@
## master #120 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 80 80
Branches 29 29
=========================================
Hits 80 80
Continue to review full report at Codecov.
|
I merged the wrong PR |
v5.0.0 published to npm and GitHub https://github.com/koajs/compress/releases/tag/v5.0.0 |
app.use(sendBuffer) | ||
request(server) | ||
.get('/') | ||
.set('Accept-Encoding', '') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah interesting workaround.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unset()
didn't work, but setting the empty value did the trick.
This PR includes the code, the tests, and the docs. Incidentally, the lock file was out of sync with the package file, so it is trivially updated too.
It is built on PR #110 according to the comment #110 (comment) as mentioned in #112