Question

Need to find a way to send a delete method from Flash Player (Flex). Currently it's not done by default (except for from AIR), but I am sure someone has augmented the URLRequestHeader to get it to work properly.

I've tried this, it isn't working:

request.requestHeaders = [new URLRequestHeader("X-HTTP-Method-Override", 
     DELETE_REQUEST_METHOD)];
Was it helpful?

Solution

Due to limitations in NPAPI this is not currently possible. The only work-around in Flash Player is to use the as3httpclientlib that builds a new HTTP client through Socket instead of through the browser networking API.

OTHER TIPS

The docs for HTTPService say it supports the value "DELETE" for it's "method" property.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top