Fiddler Ideas

The free web debugging proxy for any browser, system or platform.

Add support to uncompress mime type application/x-zip-compressed

Mobile apps, such as NBC News on Android, access resources that have responses which are encoded with Content-Type: application/x-zip-compressed.

Try it out using this URL from a browser.

It would be convenient to have Fiddler offer to decompress this content, just like what it does for gzip

  • Guest
  • Jan 24 2017
  • Under review
  • Attach files
  • Eric Lawrence commented
    25 Jan, 2017 05:55pm

    Perhaps the easiest thing to do here would be to write a little extension that adds an "Explode ZIP" command to the Web Session list's context menu. Clicking that item would explode the ZIP to a temp folder, then use the CreateMockSession API to create one new "virtual" Session for each file in the ZIP file, then delete the Temp folder.

    This would be ~30 lines of code or so. Let me know if you need help!

  • Eric Lawrence commented
    24 Jan, 2017 09:02pm

    These are just regular PKZIP files? If so, you could easily write a custom rule that performs the decompression, but PKZIP files can have multiple individual assets within, so I'm not sure how Fiddler would be able to render such things in a useful manner (modulo building a custom inspector?)