I don't know about PUT/DELETE, but I do know that 500-range responses were looked at in the player, and that it's not a simple thing to do (and if I remember correctly, may not even be possible in all cases) as it all depends on what browser APIs allow.  -Brian


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Seth Hodgson
Sent: Friday, November 03, 2006 6:06 PM
To: [email protected]
Subject: RE: [flexcoders] Re: httpservice method="DELETE" does not work

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
>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to