Ran into a couple of issues today with Flash Player 9. I’m communicating with a server which uses REST-based services and is very “standards compliant”. So when PUTting* to the server, it was responding with a HTTP 201 code (that’s a “created” response) and a 204 status code for a DELETE*. The Flash IDE was choking on this and generating an IOError, unable to read the stream. (*as a sidenote Flash Player doesn’t support the PUT or DELETE verbs right now, so we were using POST instead, and using a request header (“X-HttpVerbOverride”) to specify the correct verb.)

The IOError is of course pretty fatal, but I wondered whether it was just the Flash Player in my CS3 IDE which is not the most up to date (I still can’t install the 9.0.2 CS3 IDE update for some reason). So I tried everything in the browser and all seems well. So right now that’s good enough for me, if anyone can confirm this is fixed in 9.0.115 or later that would be great.

The other issue was with the X-HttpVerbOverride custom request header I was adding to overcome the lack of support for PUT and DELETE. It wasn’t being sent (using Charles to check). This one is easy to fix… just make sure you are sending some data in the request and that the request is a POST and all’s well again.