HL7 HTTP - Change Content-Type
Hi,
I would like to use EnsLib.HL7.Operation.HTTPOperation for sending HL7 messages via HTTP. It sends the Content-Type as "text/html"
I would like to change it to something else, say "text/plain". I cannot see a way to do it.
I have now written a custom Operation (based on EnsLib.HTTP.OutboundAdapter) and modifying the Content-Type while POSTing using SendFormDataArray(). It's bit frustrating to parse the response etc.,
I would rather prefer to use HTTPOperation of HL7. Can somebody help?
Thanks.