ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.72k stars 189 forks source link

Request/Response Tab Manager #462

Open NghiaTranUIT opened 4 years ago

NghiaTranUIT commented 4 years ago

Description

At the moment, the Body Tab in the Request and Response panel automatically determines the Content-Type and do "Pretty" and "Highlight". However, in some cases, it doesn't work well if the Response's Content-Type is not correct.

For instance, some users report that their server returns JSON as a body, but Content-Type is text/html, so Proxyman couldn't do Prettier and Highlight.

In order to mitigate this problem, I would like to introduce a feature to handle the Tab in the Request and Response. So the user can select JSON or another format on their need.

Charles Proxy does it very well. We should inspire and support in Proxyman.

Screen Shot 2020-03-30 at 21 23 30

Acceptance Criteria

NghiaTranUIT commented 4 years ago

Related: JSON Previewer with non-json Content-Type #456

NghiaTranUIT commented 4 years ago

Done with #535