mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-28 09:35:55 +03:00
[GH-ISSUE #1392] Response Raw tab doesn't show the body of XML documents #1385
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1385
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ACATTAN on GitHub (Oct 13, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1392
Originally assigned to: @NghiaTranUIT on GitHub.
Description
It seems that the Raw tab of the response window doesn't display the body of XML responses (not sure it all of them, but at least some of them). It is expected to see the raw response as-is in the Raw tab.
Steps to Reproduce
Send a GET request to this URL
The returned response contains an XML body, which is displayed in the Body tab, but not in the Raw tab.
Attached is a HAR file with the above particular request:
missing-xml-body-in-raw-tab.har.zip
And a screenshot showing the missing body:
Thank you :-)
Environment
@NghiaTranUIT commented on GitHub (Oct 13, 2022):
Thanks for the report @ACATTAN. It actually renders, but there is a huge space between.
Let me check out and fix it 🙌
@NghiaTranUIT commented on GitHub (Oct 13, 2022):
Turn out the Response Body has a lot of
\n\n\n\n, so the Raw Tabs renders multiple new lines.Print the Raw Body in Xcode Console Log

Use Postman to make a request -> See Raw body

On the other hand, the Body Tab (Previewer Mode) would beautify the XML, so all new line characters are omitted.
@ACATTAN commented on GitHub (Oct 13, 2022):
Ah, so everything is OK then. Thanks for looking at that and sorry for that!
@NghiaTranUIT commented on GitHub (Oct 13, 2022):
Don't worry, my job is investigating bugs and making the app better 😄