Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.1
-
Fix Version/s: 2.2
-
Component/s: Transport: HTTP(S) / Jetty
-
Labels:
-
User impact:Medium
-
Effort points:0.5
-
Similar Issues:None
Description
contentType element for Http endpoint sets property as "ContentType" instead of "Content-Type". ContentType property set by endpoint element is ignored and default Content-Type is set.
ContentType "text/xml" is ignored and default "text/plain" is used:
<http:endpoint name="storePhysician" address="http://localhost:8088/.../store.xqy" contentType="text/xml" method="POST" />
Workaround:
<http:endpoint name="storePhysician" address="http://localhost:8088/.../store.xqy" method="POST">
<property key="Content-Type" value="text/xml" />
</http:endpoint>
Issue Links
- is duplicated by
-
MULE-3979
ContentType should be Content-type
-
A quick check in the sources doesn't come up with the literal "ContentType" in the Mule sources.
To debug further, can you please provide a test case that demos this problem?