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

PR 110: new default #120

Merged
merged 4 commits into from
Jul 6, 2020
Merged

PR 110: new default #120

merged 4 commits into from
Jul 6, 2020

Conversation

uhop
Copy link
Contributor

@uhop uhop commented Jul 5, 2020

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

@codecov
Copy link

codecov bot commented Jul 5, 2020

Codecov Report

Merging #120 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #120   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           80        80           
  Branches        29        29           
=========================================
  Hits            80        80           
Impacted Files Coverage Δ
lib/index.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cce99c4...9a37801. Read the comment docs.

@niftylettuce
Copy link
Contributor

I merged the wrong PR

@niftylettuce niftylettuce merged commit da9833d into koajs:master Jul 6, 2020
@niftylettuce
Copy link
Contributor

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', '')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah interesting workaround.

Copy link
Contributor Author

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.

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.

3 participants