Did you try:

http://localhost:1234
header:Content-Type=text%2fxml
<text>%s</text>

It could be tricky what to decode and what not.


On Mon, Nov 30, 2009 at 8:06 PM, Vassil Dichev <[email protected]> wrote:
> 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 <[email protected]> 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 <[email protected]> 
>> 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 <[email protected]> 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
>>>>
>>>
>>
>

Reply via email to