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

Support brotli compression on Node 10+ #282

Merged
merged 1 commit into from
Jul 22, 2019
Merged

Conversation

colinskow
Copy link
Contributor

Requests and processes Brotli compression if it is supported by the current version of Node. Unit test included. Note I added spaces in the accept-encoding header, as this is exactly what Google Chrome sends on all requests.

Fixes #281

@tomas
Copy link
Owner

tomas commented Jul 22, 2019

Looks good! Thank you @colinskow

@tomas tomas merged commit bffb74e into tomas:master Jul 22, 2019
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.

Feature: support Brotli (br) compression
2 participants