关于 Fiddler 出现Response is encoded and may need to be decoded before inspection.


What if we make a request using webclient and result was not readable so I tried make same request via Fiddler and response was as mentioned above ,it means  your response was compressed (gzip) so you should decompress it.I tried several solutions but consequence was only remove this line from my request body.


1
webclient.Headers[ "Accept-Encoding" ] = "gzip, deflate" ;





Retrofit post 时需要加入 @FormUrlEncoded



你可能感兴趣的:(关于 Fiddler 出现Response is encoded and may need to be decoded before inspection.)