VSE Response non-readable format for content encoding gzip

Document ID : KB000100161
Last Modified Date : 05/06/2018
Show Technical Document Details
Issue:
We are virtualizing REST service (GET) with DEV TEST. While hitting the service with browser or SoapUI we are seeing valid JSON response. But the response is in non-readable format.
Environment:
All supported DevTest Environments
Cause:
If your request would be sending the header Content-Encoding : gzip, and VS 's sends response as json but the server might not expecting a compressed response. 
Resolution:
Remove these arguments from the Response META data in the VSI. 
* Content-Encoding ="gzip" 
* WasGzip ="gzip"

Redeploy you VSM.