Take a look at URLBinaryLoader (which is the network class I’m using pretty much exclusively). The main logic is in URLStream which handles all kinds of responses. HTTPService can probably be improved using similar logic.
Harbs > On Mar 19, 2017, at 7:58 AM, Justin Mclean <jus...@classsoftware.com> wrote: > > Hi, > > Using HTTPServer on the JS side it’s quite difficult to diagnose issues when > you do get responses other than 200 OKs. The io errors and security errors > are only supported on the AS side in that class. > > One of Adobe’s server side products likes returning 500 errors for just about > everything, iincluding user authentication issues which is a little less than > helpful. > > One way to work around this is to get access to the HTTP status text so you > have some context to what the error was. Any other suggestions? > > Thanks, > Justin >