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
Symptoms
Non-XML messages are stored with
text/xmlas 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-Typeheader. This is supposedly affecting native integration only.Root cause
In case of missing
Content-Type,text/xmlis assumed as default.Confirmed workarounds
N/A
Original bug report
Describe the bug
Description
When a message with no
Content-Typeheader is delivered to ServiceControl, it is treated as if it was atext/xmlmessage. This further breaks ServicePulse since it cannot pretty-print such a message.Expected behavior
Message is stored as
text/plainActual behavior
Message is stored as
text/xml