JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-3411

Http endpoint contentType element value gets ignored and overwritten with default value

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.1
  • Fix Version/s: 2.2
  • Component/s: Transport: HTTP(S) / Jetty
  • Labels:
    • 20-config
  • 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

Bug - A problem which impairs or prevents the functions of the product. MULE-3979 ContentType should be Content-type

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds

People

  • Assignee:
    Ross Mason
    Reporter:
    Rajesh Shah
Vote (0)
Watch (0)

Dates

  • Created:
    28/May/08 10:58 AM
    Updated:
    30/Nov/08 10:13 AM
    Resolved:
    30/Nov/08 10:13 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.