esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <>
Subject Re: Action question regarding Content-Type header
Date Mon, 30 Nov 2009 10:53:02 GMT
Just checked and found that the class that sends the post is in
HttpSender.scala.   The content type is hard-coded at the current

      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



On Mon, Nov 30, 2009 at 11:31 AM, Richard Hirsch <> wrote:
> Right now, it is possible to use HTTP Post as an action in an action
> (
> 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.

View raw message