I'm trying to streamline my error reporting for internal testing. When I use URLLoader/URLRequest to load a page that responds with the 500 HTTP status code, I catch it with the IOErrorEvent.IO_ERROR, but can't find a way to get the response body. Unlike with Event.Complete, loader.data (My URLLoader) is an empty string.
Yes, I can use Fiddler/Firebug to get the actual response, but this would be good to catch intermittent/hard-to-reproduce errors when I don't have these running.