incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vassil Dichev <vdic...@apache.org>
Subject Re: Action question regarding Content-Type header
Date Mon, 30 Nov 2009 18:06:41 GMT
Right, the value of the header had to be escaped. I will try to check
it out tonight.

I am surprised I haven't documented this, I will correct this.


On Mon, Nov 30, 2009 at 3:31 PM, Richard Hirsch <hirsch.dick@gmail.com> wrote:
> I tried to set the header without encoding it and then we get a parsing error.
>
> header: Content-Type=text/xml
>
> D.
>
> On Mon, Nov 30, 2009 at 1:34 PM, Richard Hirsch <hirsch.dick@gmail.com> wrote:
>> Of course, you have URLEncode everything and then it doesn't work:
>>
>> https://beta.com/v1
>> header%3A%20Content-Type%3Dtext%2Fxml
>> %3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0D%0A%3C%20name%3D%22New%20using%20cURL%22%3E%3C%2F%3E
>>
>> D.
>>
>> On Mon, Nov 30, 2009 at 12:59 PM, Vassil Dichev <vdichev@apache.org> wrote:
>>>> 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
>>>
>>> Actually I just checked the source and it should be
>>>
>>> https://beta.xxx.com
>>> header: Content-Type=text/xml
>>> test Message
>>>
>>
>

Mime
View raw message