Announcement

Collapse
No announcement yet.

http Listener content-type

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • http Listener content-type

    hello

    Is there a way to change dynamically the value of the content-type on a http listener?

    adding a header worked
    Content-Type : ${my variable}
    Last edited by wello007; 10-11-2012, 05:37 AM. Reason: RESOLVED
    WD

  • #2
    Just to clarify, that will change the content-type for the response, not the message that is received by the channel. It sounds like that was your intent anyway though. You should also be able to achieve this just by entering the content-type you want into the "Response Content Type" field right there on the HTTP Listener settings.
    Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

    Nicholas Rupley
    Work: 949-237-6069
    Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


    - How do I foo?
    - You just bar.

    Comment

    Working...
    X