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 for brotli compression #84

Open
crystalfp opened this issue Oct 30, 2022 · 0 comments
Open

Support for brotli compression #84

crystalfp opened this issue Oct 30, 2022 · 0 comments

Comments

@crystalfp
Copy link

The package is used inside Pactum and do not access brotli compressed files.

I know it is an indirect issue (the culprit is phin or pactum?), but I'm trying to collect more evidence on the problem.

Environment details

  • Programming language: Javascript
  • OS: Windows 11
  • Language runtime version: Node 18.11.0
  • Package version: 3.6.0

Steps to reproduce

  1. Access http://localhost/ where the root page is compressed with brotli, that is, the file to access is index.html.br
  2. The server respond with 404
  3. Now access http://localhost/index.html.br
  4. The server find the file but return the compressed binary content.
  5. Use an external brotli decompressor and the returned data is indeed the index.html content
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