[GH-ISSUE #462] Request/Response Tab Manager #459

Open
opened 2026-03-03 19:18:58 +03:00 by kerem · 2 comments
Owner

Originally created by @NghiaTranUIT on GitHub (Mar 31, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/462

Originally assigned to: @NghiaTranUIT on GitHub.

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

  • Add a cog menu button on the Response panel
  • Able to select/unselect the format the need
  • The selected tab is appended
  • Do proper prettier and hightlighter
Originally created by @NghiaTranUIT on GitHub (Mar 31, 2020). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/462 Originally assigned to: @NghiaTranUIT on GitHub. ### 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. <img width="404" alt="Screen Shot 2020-03-30 at 21 23 30" src="https://user-images.githubusercontent.com/5878421/77982484-a6aceb80-7336-11ea-9ced-f3a26f8af228.png"> ### Acceptance Criteria - Add a `cog` menu button on the Response panel - Able to select/unselect the format the need - The selected tab is appended - Do proper prettier and hightlighter
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 31, 2020):

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

<!-- gh-comment-id:606371030 --> @NghiaTranUIT commented on GitHub (Mar 31, 2020): Related: JSON Previewer with non-json Content-Type #456
Author
Owner

@NghiaTranUIT commented on GitHub (Nov 9, 2020):

Done with #535

<!-- gh-comment-id:724029535 --> @NghiaTranUIT commented on GitHub (Nov 9, 2020): Done with #535
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#459
No description provided.