Well I solved my problem by using Springs HiddenHttpMethodFilter
This monitors incoming requests for "_method" parameters and allows to override 
them. So I was able to fake a PUT by adding "?_method=PUT" and a DELETE by 
adding "?_method=DELETE" to my rest url ... it's not nice, but it works.

Chris

________________________________________
Von: omup...@gmail.com <omup...@gmail.com> im Auftrag von OmPrakash Muppirala 
<bigosma...@gmail.com>
Gesendet: Montag, 7. September 2015 21:10
An: dev@flex.apache.org
Betreff: Re: Allowing PUT and DELETE requests in HTTPService

The problem with socket based http clients are that they bypass the browser
completely and hence the browser cache.   It hits you really for those GETs
you want cache working for.

Thanks,
Om
On Sep 7, 2015 10:16 AM, "Harbs" <harbs.li...@gmail.com> wrote:

> I believe Socket based HTTP Clients can do this. There’s a couple out
> there. [1][2].
>
> The author of the first seems to recommend the second.[3]
> [1]https://code.google.com/p/as3httpclient/
> [2] https://github.com/gabriel/as3httpclient
> [3]
> http://www.abdulqabiz.com/blog/archives/2008/01/21/as3httpclientlib-a-better-http-client-in-actionscript-by-gabe/
>
> On Sep 7, 2015, at 3:56 PM, Christofer Dutz <christofer.d...@c-ware.de>
> wrote:
>
> > Hi,
> >
> >
> > I am currently working on a fun project in which we are having a little
> battle of the client technologies. The backend server is a REST service
> communicating in JSON.
> >
> > While my Flex client is currently way beyond the others, I just stumbled
> over a problem which I don't quite know how to work around.
> >
> >
> > The problem is that the REST service accepts GET, PUT, DELETE and POST
> requests. I was pretty surprised to find out the Flex doesn't seem to
> support PUT and DELETE. The reasoning behind this seems to be related with
> Browsers not supporting these. Is this still the case? I think a lot of the
> modern JSFrameworks make heavy usage of REST services. Anyway I am creating
> an AIR application, so I don't care about browsers anyway.
> >
> >
> > Is there a way around this to make REST PUT and DELETE calls possible? I
> have tried the URLRequest approach, but this doesn't seem to work.
> >
> >
> > Is this a restriction from the dark ages and we could make Flex work
> with PUT and DELETE or is this a restriction of the Flashplayer or AIR
> runtime?
> >
> >
> > Chris
>
>

Reply via email to