Mule

Content-Type issues with http "PUT" in webapp examples.

Details

  • User impact:
    Medium
  • Similar Issues:
    MULE-5504 Content-Type header not set with PUT method
    MULE-3552 Webapp "REST Put/Get" example does not work
    MULE-4805 Mule webapp REST PUT/GET example fails
    MULE-5610 Content-Type header not set with PUT method
    MULE-3979 ContentType should be Content-type
    MULE-2764 Webapp example throws SAXParseException: Content is not allowed in prolog.
    MULE-4031 Content-Type of "text/xml" is getting propagated from previous message
    MULE-4047 Default Content-Type setting on Mule Servlet gets ignored
    MULE-4180 Webapp example REST support is broken on embedded Tomcat
    MULE-4439 webapp example fails for 'REST Hello World'

Description

Running the webapp examples and using the "PUT" example results in the response being downloaded as a file rather than displayed in the browser.

Issue Links

Activity

Hide
Andrew Perepelytsya added a comment - 17/Mar/08 08:55 AM

Dan, there was this very old issue I can't find now. The behavior differed for among browsers. The workaround was to add a MessagePropertiesTransformer and fix the content type to text/plain or text/html on the response.

Show
Andrew Perepelytsya added a comment - 17/Mar/08 08:55 AM Dan, there was this very old issue I can't find now. The behavior differed for among browsers. The workaround was to add a MessagePropertiesTransformer and fix the content type to text/plain or text/html on the response.
Hide
Daniel Feist added a comment - 17/Mar/08 10:19 PM

Yes, this apparently works with IE but fails with firefox/safari.

Show
Daniel Feist added a comment - 17/Mar/08 10:19 PM Yes, this apparently works with IE but fails with firefox/safari.

People

Vote (0)
Watch (1)

Dates

  • Created:
    17/Mar/08 08:09 AM
    Updated:
    13/May/08 09:22 PM
    Resolved:
    30/Apr/08 07:00 AM