How to check the gzip content in the Charles capture

In order to improve efficiency and save traffic, the http of mobile APP or some webpages is often compressed and transmitted.
The most intuitive way to judge whether to use compression can be seen from the request and response headers of the captured packets, as shown in the content-encoding in the following figure. .

write picture description here

Switch to raw viewing mode

write picture description here

Right-click on the gzip location and save as a .zip file

write picture description here

The last step is to extract the .zip file to get the text file

write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324475316&siteId=291194637