[GH-ISSUE #1392] Response Raw tab doesn't show the body of XML documents #1385

Closed
opened 2026-03-03 19:51:02 +03:00 by kerem · 4 comments
Owner

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:

Screen Shot 2022-10-13 at 14 56 54

Thank you :-)

Environment

  • App version: e.g Proxyman 3.11.0
  • macOS version: Monterey 12.6
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](https://svastx.moatads.com/iponwebwrappervideo285247619039/template.xml?ad_title=IOW&tmode=1&ariel=114&ad_width=640&ad_height=360&apiFrameworks=1%2C2%2C7&tag_type=vpd&gdpr=%5BGDPR%5D&gdpr_consent=%5BGDPR_CONSENT_772%5D&level1=loopme&level2=loopme_9621&level3=1480338372&level4=1&slicer2=video&slicer1=4&vast_url=https%3A%2F%2Fbid.g.doubleclick.net%2Fdbm%2Fvast%3Fdbm_c%3DAKAmf-DpoJUvBeVu8rPhHeWOhvEPMuqTDxmoYDAC9-iEVTmKocGY8ALX8KpS3NVVqtDFtyylMCp7wTbjF5c0CA1iOO9fYq0IIg%26dbm_d%3DAKAmf-DnJ_Js86SRrc7oy7TYe55OtWDxl138wjutMLBiirOIFIHFkMfkPtQ78_TKIX0iqIijpeIVHfUvtKrgZI1WC5IKvVgUm2MBVXH_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X_hvzQxbq60jwg5NfTn2XXbujSZCFSiuEeKDtKo46gIOnUhWJHurzrRvJXrW8pGRRiPo8gI8teL2oglW6n4RVnvyzWjTYGOWf3HXcF-W6uGi3Y2MGJ6OLYST_3PIANFue%26cid%3DCAASfeRosWXXfx1qePh766mZE9jwWIe8F5JTtTIDcvaIFK4-hLHNaGfSuppohYkyQlymC2FWq7An7hlFtOY6ML5Gx96mmQEma_4IKNvAswtxkJQOAznfyHTDrevjYNhRSjXKpZIxn74R6Uc6H1Rr8SkH_hegihznl8tjLrcSZZkq&ad_duration=00%3A02%3A01&zMoatImpID=a5686e73_634558a96559b0e41f6e2410&zMoatDspID=16) 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](https://github.com/ProxymanApp/Proxyman/files/9776337/missing-xml-body-in-raw-tab.har.zip) And a screenshot showing the missing body: <img width="717" alt="Screen Shot 2022-10-13 at 14 56 54" src="https://user-images.githubusercontent.com/11505149/195590436-40d516f9-19c3-49ed-94c0-13d4fc0a8098.png"> Thank you :-) ## Environment - App version: e.g Proxyman 3.11.0 - macOS version: Monterey 12.6
kerem 2026-03-03 19:51:02 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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 🙌

Screen Shot 2022-10-13 at 21 02 35
<!-- gh-comment-id:1277665276 --> @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 🙌 <img width="978" alt="Screen Shot 2022-10-13 at 21 02 35" src="https://user-images.githubusercontent.com/5878421/195618349-3fa3922c-b396-497e-8a0b-ba881d81b377.png">
Author
Owner

@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
    Screen Shot 2022-10-13 at 21 08 45

  • Use Postman to make a request -> See Raw body
    Screen Shot 2022-10-13 at 21 14 08


On the other hand, the Body Tab (Previewer Mode) would beautify the XML, so all new line characters are omitted.

<!-- gh-comment-id:1277688393 --> @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 <img width="1053" alt="Screen Shot 2022-10-13 at 21 08 45" src="https://user-images.githubusercontent.com/5878421/195621374-6143f0c8-d1f6-4c85-8f04-c06625b6ffce.png"> - Use Postman to make a request -> See Raw body <img width="938" alt="Screen Shot 2022-10-13 at 21 14 08" src="https://user-images.githubusercontent.com/5878421/195621620-0b68f3b2-b7bb-4108-a02f-527e88be13be.png"> --------------- On the other hand, the Body Tab (Previewer Mode) would beautify the XML, so all new line characters are omitted.
Author
Owner

@ACATTAN commented on GitHub (Oct 13, 2022):

Ah, so everything is OK then. Thanks for looking at that and sorry for that!

<!-- gh-comment-id:1277716615 --> @ACATTAN commented on GitHub (Oct 13, 2022): Ah, so everything is OK then. Thanks for looking at that and sorry for that!
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 13, 2022):

Don't worry, my job is investigating bugs and making the app better 😄

<!-- gh-comment-id:1277721760 --> @NghiaTranUIT commented on GitHub (Oct 13, 2022): Don't worry, my job is investigating bugs and making the app better 😄
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#1385
No description provided.