Symptoms
Non-XML messages are stored with text/xml as the content type value, which might result in errors in ServicePulse when visualizing or editing the message body.
Who's affected
Users sending messages with no Content-Type header. This is supposedly affecting native integration only.
Root cause
In case of missing Content-Type, text/xml is assumed as default.
Confirmed workarounds
N/A
Original bug report
Describe the bug
Description
When a message with no Content-Type header is delivered to ServiceControl, it is treated as if it was a text/xml message. This further breaks ServicePulse since it cannot pretty-print such a message.
Expected behavior
Message is stored as text/plain
Actual behavior
Message is stored as text/xml