You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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
The text was updated successfully, but these errors were encountered: