lihaoyi / test

0 stars 0 forks source link

request's encoding is corrupt #625

Open lihaoyi opened 1 month ago

lihaoyi commented 1 month ago

When trying to setup gzip request, I get from server a 400 response:

The request content was malformed:
The request's encoding is corrupt
    at requests.Requester$$anon$1.readBytesThrough(Requester.scala:356)
    at geny.Readable.writeBytesTo(Writable.scala:93)
    at geny.Readable.writeBytesTo$(Writable.scala:93)
    at requests.Requester$$anon$1.writeBytesTo(Requester.scala:165)
    at requests.Requester.apply(Requester.scala:114)

Please see attached simple main that shows the issue.

Note: apache client works find against server, hence I think it's an issue in requests impl HttpServerRoutingMinimal.zip

ID: 88 Original Author: yairogen