# Response bodies with "strange" content-types default to "Hex" view

**URL:** <https://community.postman.com/t/response-bodies-with-strange-content-types-default-to-hex-view/73597>\
**Category:** Help Hub\
**Tags:** xml-response\
**Created:** [January 9, 2025, 10:40pm UTC](https://community.postman.com/t/response-bodies-with-strange-content-types-default-to-hex-view/73597 "2025-01-09T22:40:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![swobi71](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@swobi71](https://community.postman.com/u/swobi71)\
**Post date:** [January 9, 2025, 10:40pm UTC](https://community.postman.com/t/response-bodies-with-strange-content-types-default-to-hex-view/73597/1 "2025-01-09T22:40:13Z")

</div>

Since the latest update (Version 11.27.3) the “default” view of my responses with “strange” content-types (multipart/related; type=“application/xop+xml”; boundary=“uuid:aaaaaaa-bbbb-ccccc”; start=“[root.message@cxf.apache.org](mailto:root.message@cxf.apache.org)”; start-info=“application/soap+xml”) seems to be “Hex”.  
Before the update the response bodies were shown in “Raw”.

Is there a setting/script to change the default back to “Raw” (or even better “XML”)?  
(I tried both “Response format detection” settings but no luck)

Thanks!  
swobi

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [January 9, 2025, 10:59pm UTC](https://community.postman.com/t/response-bodies-with-strange-content-types-default-to-hex-view/73597/2 "2025-01-09T22:59:20Z")

</div>

Hey @swobi71 👋🏼

Welcome to the Postman Community :postman:

Would you be able to share a curl example of a request that you’re seeing this with or something else that will allow us to reproduce what you’re seeing 🙏

---

<div class="post-metadata">

**Author:** ![swobi71](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@swobi71](https://community.postman.com/u/swobi71)\
**Post date:** [January 9, 2025, 11:25pm UTC](https://community.postman.com/t/response-bodies-with-strange-content-types-default-to-hex-view/73597/3 "2025-01-09T23:25:30Z")

</div>

Thanks a lot for your quick answer!

I could send you the complete (anonymized) response (headers+body).  
Would this help?

UPDATE:

```auto
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: multipart/related; type="application/xop+xml"; boundary="uuid:2d96eeb9-ca40-491d-ae52-d3f41752a05e"; start="<root.message@cxf.apache.org>"; start-info="application/soap+xml"
Server: 
Request-Context: appId=cid-v1:e1679370-5032-404e-a096-6943e88ecc72
Date: Thu, 09 Jan 2025 23:30:14 GMT
Content-Length: 819

--uuid:2d96eeb9-ca40-491d-ae52-d3f41752a05e
Content-Type: application/xop+xml; charset=UTF-8; type="application/soap+xml"
Content-Transfer-Encoding: binary
Content-ID: <root.message@cxf.apache.org>

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body>[...sensitive information...]</soap:Body></soap:Envelope>
--uuid:2d96eeb9-ca40-491d-ae52-d3f41752a05e--

```

Hmm, the first bytes of the response body are 0D 0A

---

<div class="post-metadata">

**Author:** ![swobi71](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@swobi71](https://community.postman.com/u/swobi71)\
**Post date:** [January 9, 2025, 11:50pm UTC](https://community.postman.com/t/response-bodies-with-strange-content-types-default-to-hex-view/73597/4 "2025-01-09T23:50:18Z")

</div>

FYI: Used Fiddlerscript to change the first “Content-Type” header to “text/xml” and the “Response format detection” kicks in as expected and formats the response in pretty XML.

---

<div class="post-metadata">

**Author:** ![swobi71](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@swobi71](https://community.postman.com/u/swobi71)\
**Post date:** [January 10, 2025, 12:04am UTC](https://community.postman.com/t/response-bodies-with-strange-content-types-default-to-hex-view/73597/5 "2025-01-10T00:04:20Z")

</div>

I know that fixing the Content-Type is the “correct” way to solve the problem, but maybe you could change the Response format detection Setting to the following?

Response format detection o Auto o JSON o XML

---

<div class="post-metadata">

**Author:** ![swobi71](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@swobi71](https://community.postman.com/u/swobi71)\
**Post date:** [January 13, 2025, 9:39am UTC](https://community.postman.com/t/response-bodies-with-strange-content-types-default-to-hex-view/73597/6 "2025-01-13T09:39:10Z")

</div>

Did some more “fiddling” and it seems the “multipart/related” Content-Type is responsible, because with the following Content-Type Headers it worked fine:  
“text/xml”  
“application/xml”  
“application/xop+xml”  
“application/soap+xml”

SInce I can’t change the response “Content-Type” of the API on the server myself, I will use “Fiddler” to overwrite it for now. But it would be cool if Postman added an “XML” option to the “Response format detection”.

---

<div class="post-metadata">

**Author:** ![swobi71](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@swobi71](https://community.postman.com/u/swobi71)\
**Post date:** [January 15, 2025, 9:36am UTC](https://community.postman.com/t/response-bodies-with-strange-content-types-default-to-hex-view/73597/7 "2025-01-15T09:36:37Z")

</div>

I just created a GitHub Feature Request ([add an “XML” option to the “Response format detection” setting · Issue #13401 · postmanlabs/postman-app-support · GitHub](https://github.com/postmanlabs/postman-app-support/issues/13401)) and hope for the best 😉

---

<div class="post-metadata">

**Author:** ![swobi71](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@swobi71](https://community.postman.com/u/swobi71)\
**Post date:** [January 21, 2025, 1:26pm UTC](https://community.postman.com/t/response-bodies-with-strange-content-types-default-to-hex-view/73597/8 "2025-01-21T13:26:26Z")

</div>

Got the latest app-version (v11.28.4) today and voila! the Default view is “Raw” again!

Very nice - thanks a lot!  
Swobi

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [April 21, 2025, 1:26pm UTC](https://community.postman.com/t/response-bodies-with-strange-content-types-default-to-hex-view/73597/9 "2025-04-21T13:26:31Z")

</div>

Closed on April 21, 2025, 1:26pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
