Hi Jean-Philippe,

In addition to the current workaround described by Karel, we are planning to 
support the "X-HTTP-Method-Override" header in Restlet
1.2:

"Support method tunneling via header"
http://restlet.tigris.org/issues/show_bug.cgi?id=297

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


-----Message d'origine-----
De : Karel Vervaeke [mailto:[email protected]] 
Envoye : vendredi 30 janvier 2009 09:02
A : [email protected]
Objet : Re: Overriding HTTP headers

Just scanning your mail diagonally I think you need to add the method
parameter to your query string (in combination with POST requests):

http://host/path?method=PUT
http://host/path?method=DELETE

(You should have the tunnel service enabled)

HTH,
Karel

On Fri, Jan 30, 2009 at 8:00 AM, Jean-Philippe Steinmetz
<[email protected]> wrote:
> Hello again,
>
> One of my REST clients will be a Flash application. As some or all of you
> are aware Flash's URLRequest is a bit broken in that it doesn't fully
> support the HTTP protocol. I have tried using arc90restlib that Jerome
> suggested at http://lab.arc90.com/2008/03/restservice.php but unfortunately
> all I get are IOErrors when a request is sent anywhere. It could be that i'm
> loading in a Flex library into a Flash app but it's a bit hard too difficult
> to debug at this point. I can only assume there is an issue with the
> library. Short of writing my own HTTP socket library I was given a tip on
> using Flash's built-in URLRequest method and utilizing override headers to
> perform the PUT and DELETE operations. Specifically I am adding the header
> X-HTTP-Method-Override with the correct action I desire. Now to the point;
> does RESTlet support these headers? Does anyone else have any suggestions on
> how to make this Flash client talk?
>
> Jean-Philippe
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1072845

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1073181

Reply via email to