Closed GoogleCodeExporter closed 9 years ago
Is the service you are trying to test available somewhere so that I can try it
out?
Original comment by johan.ha...@gmail.com
on 14 May 2014 at 6:31
Hi Johan,
Thanks for getting back to me. I will email you a public link to this service
later today on your gmail account.
Thanks,
jtorres006@gmail.com
Original comment by jtorres...@gmail.com
on 15 May 2014 at 12:49
I've now looked into this and the problem seems to be related to this:
http://stackoverflow.com/a/11401785. So just for curiosity, is the server
implemented in PHP?
Anyway a work-around exists in the currently released version of REST Assured
which is to disable DEFLATE encoding:
given().config(config().decoderConfig(decoderConfig().noContentDecoders()). ..
I've also added support for RFC 1951 in the next release:
given().config(config().decoderConfig(decoderConfig().useNoWrapForInflatedStream
s(true)). ..
You can of course also configure this once and for all:
RestAssured.config =
config().decoderConfig(decoderConfig().useNoWrapForInflatedStreams(true));
Original comment by johan.ha...@gmail.com
on 3 Jun 2014 at 6:56
Original issue reported on code.google.com by
jtorres...@gmail.com
on 7 May 2014 at 11:34