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

Brotli encoding #950

Open
perotom opened this issue Nov 2, 2024 · 1 comment
Open

Brotli encoding #950

perotom opened this issue Nov 2, 2024 · 1 comment

Comments

@perotom
Copy link

perotom commented Nov 2, 2024

We are using the play framework to forward requests to our micro services. They can return content with brotli compression but WSClient seems not to support Brotli. Is there any plan to support this?

@Nezisi
Copy link

Nezisi commented Nov 17, 2024

https://github.com/AsyncHttpClient/async-http-client/releases/tag/async-http-client-project-3.0.0

AHC, which is the implementation WS uses, supports Brotli since v3.

If you provide a PR that

  • migrates PlayWS to AHC 3
  • adds enablement of brotli if necessary (not sure if e.g. content type or similar stuff needs to be added to PlayWS)
  • plus tests

I'm certain that @mkurz will merge it.

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

2 participants