The response is raw under <Binary Data> How to deal with this can display the plain text

Open
#2,357 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
macos

Research direction

No source file, test, or entry point is named. First reproduce the response in Proxyman using the reported Brotli or gzip cases and inspect how it is shown as Binary Data. Done means the applicable compressed response can be displayed as readable plain text without losing the raw response view.

Written by the indexing model from the issue text.

Description

question

Description

The response is raw under How to deal with this can display the plain text

Shown in the following figure:

Image

In mitmproxy I can write scripts to implement it, but in proxyman I read the documentation and did not find how this method should be implemented
mitmproxy br and gzip can be implemented through the following code:

res = brotli.decompress(data).decode("utf-8")
res = gzip.decompress(data).decode("utf-8")

Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ProxymanApp/Proxyman

All issues in ProxymanApp/Proxyman

Similar issues

More Desktop Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.