Just checked and found that the class that sends the post is in
HttpSender.scala. The content type is hard-coded at the current
time.
def getContentType() = "application/x-www-form-urlencoded"
My suggestion would be to somehow pass the content type as part of the
action. Maybe as an extra parameter in the URL that gets removed
afterword
Ideas?
D.
On Mon, Nov 30, 2009 at 11:31 AM, Richard Hirsch <[email protected]> wrote:
> Right now, it is possible to use HTTP Post as an action in an action
> (http://cwiki.apache.org/confluence/display/ESME/Actions)
>
> I'm attempting to integrate an application ( which shall remain
> anonymous :->) which requires that XML is sent in the POST data.
> Right now, we also sending "application/x-www-form-urlencoded" as the
> Content-Type header . I need "'text/xml' in this header.
>
> Any suggestions / ideas?
>
> D.
>