incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Re: Action question regarding Content-Type header
Date Mon, 30 Nov 2009 11:51:57 GMT
Tried and it didn't work.

How exactly would the action look like? Like this?

https://beta.xxx.com
Content-Type header: text/xml
test Message



On Mon, Nov 30, 2009 at 12:21 PM, Vassil Dichev <vdichev@apache.org> wrote:
>> 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
>
> Hm, that's getting too complicated. Why don't you try to specify a
> Content-Type: http header and see if it overwrites the original one?
>

Mime
View raw message