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

WSRequest transparency and signing broken #309

Open
mellster2012 opened this issue Mar 7, 2019 · 0 comments
Open

WSRequest transparency and signing broken #309

mellster2012 opened this issue Mar 7, 2019 · 0 comments

Comments

@mellster2012
Copy link

mellster2012 commented Mar 7, 2019

Play WS Version: 2.7
API : Scala
Operating System: Any
JDK: Any

Expected Behavior

play-ws should not alter outgoing WSRequests or at the minimum provide a function where you can override/replace all existing http headers - currently content-type is not replaceable.

Actual Behavior

play-ws shades the latest version of asynchttpclient which alters the content-type header of a complete request before submitting it by enforcing the charset attribute. This breaks transparency and signatures for AWS etc. (e.g. BodyWritable[StringBuilder] defaults to text/plain without charset as content-type)

See: AsyncHttpClient/async-http-client#1578

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