是否可以解密gzip信息?

时间:2011-12-02 23:07:49

标签: json gzip fiddler unzip

我在Google上使用Fiddler,我注意到json的内容类型如下:

HTTP/1.1 200 OK
Date: Fri, 02 Dec 2011 22:55:56 GMT
Expires: -1
Cache-Control: no-cache, must-revalidate
Content-Type: application/json; charset=UTF-8
Pragma: no-cache
Content-Disposition: attachment
Content-Encoding: gzip
Server: gws
Content-Length: 317
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN

--some big big big big encoded stuff here...--

所以问题是:我可以使用某种工具或创建一些代码来解压缩这个结果并查看--some big big big big encoded stuff here...--内部的内容吗?

1 个答案:

答案 0 :(得分:1)

似乎我可以点击左侧面板上的请求,然后选择Fiddler右下方面板,点击 Transformer 标签,取消选中 Chunked Transfer-Encoding 并点击无压缩

enter image description here

然后点击 Raw 标签。

enter image description here

相关问题