Hi Brian,
That request has been logged with the player team (as well
as a request for WebDAV support). No guarantees on whether or when either of
these could be
supported.
Best,
Seth
________________________________________
From:
[EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of brian.knorr
Sent: Friday, November 03, 2006 12:05 PM
To: [EMAIL PROTECTED]ups.com
Subject:
[flexcoders] Re: httpservice method="DELETE" does not work
Thanks for the
clarification. Any idea if there are plans to have
flash fully support the
other request methods like DELETE?
Currently we don't have the option of
spending $20K per CPU for FDS
just to get REST
support.
Thanks,
Brian
--- In [EMAIL PROTECTED]ups.com,
"Seth Hodgson" <[EMAIL PROTECTED].>
wrote:
>
> Hi
Brian,
>
> The Flash player only currently supports GET and POST
requests
(and converts any POST request with a zero length body or any
unrecognized request method to a GET). PUT and DELETE are not
supported.
>
> For HTTPService you can get around this
limitation if your
HTTPService has useProxy="true". In this case a
request to build and
send a proxied PUT/DELETE/OPTIONS/etc. request is
sent to FDS and
the server builds and sends the actual HTTP request and
returns the
response to the player. The proxy also handles fault responses
in
the 500 range and returns them to the player in a form that
HTTPService can process usefully (the player doesn't handle
responses in
the 500 range). We have Pete Farland to thank for all
that :)
>
> I'll log a doc bug to clarify that the extended set of methods are
only supported when using the proxy.
>
> If you're not using
the proxy, HTTPService uses a
flash.net.URLLoader to make the request
directly so you're limited
to what the player supports.
>
>
HTH,
> Seth
>
>
________________________________________
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of brian.knorr
> Sent: Friday, November 03, 2006 10:33
AM
> To: [EMAIL PROTECTED]ups.com
>
Subject: [flexcoders] httpservice method="DELETE" does not work
>
>
We are building REST apis in our Rails backend and for a delete
> action
it expects to recieve a HTTP DELETE request, but with Flex2
> when you
set the method="DELETE" on an httpservice it doesn't send
> the DELETE,
instead it sends a GET which causes our REST apis to
> fail. The
documentation for httpservice says it supports
>
method="DELETE".
>
> Any advise is greatly
appreciated...thanks,
>
> Brian
>