-
-
Notifications
You must be signed in to change notification settings - Fork 453
Closed
Labels
component:appIssue related to the desktop or cloud web appIssue related to the desktop or cloud web app
Description
Describe the bug
According to docs Mockoon supports XML responses for both application/xml and text/xml content-types (https://mockoon.com/docs/latest/xml-support/). However when a response Content-Type is set to text/xml the syntax highlighting of response body does not work, yet for application/xml it works. Also text/xml is not in the list of suggested Content-type headers.
To Reproduce
- create a responce with a header setting
Content-Typetotext/xml - put some xml content into mock response body
- see that the syntax highlighting does not work
- change
Content-Typeheader toapplication/xml - observe that response body now has highlighted xml syntax
Mockoon version:
1.20.0
OS / OS version:
Winodws 10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component:appIssue related to the desktop or cloud web appIssue related to the desktop or cloud web app
Type
Projects
Status
✅ Done (ready for next release)