I am writing an ActionScript library for api. I am using a URLLoader object to load data from api. The problem I am facing is that whenever the api returns an http status of 400, ActionScript treats this as an io error. This is all a find and good, however, it seems that there is no access to any data that was returned, if so. Therefore, any useful xml about the cause of the error that is returned is lost. Is there any way around this? This makes the library a pain if there can be no useful information for developers when the api returns an error. Thanks for any help!
400. , HTTP.
, :
, 200- -, , , 200 .
- cookie , . Flash cookie, javascript ExternalInterface, , , , back-end-, cookie .
Source: https://habr.com/ru/post/1698118/More articles:Why doesn't IIS execute the PHP code of the root index.php file of my site? - phpTesting software for a system with a fixed metal case - embeddedShould I use default (Foo), Foo.Empty or null? - constructorWhat tools are available for creating a Java process in COM servers? - javaMigrating from VS Professional to VS Team System - visual-studio-2008What is the correct LINQtoSQL-ish way to truncate a table? - tsqlProblems with insertChildBefore and insertChildAfter in AS3 - xmlLinear Algebra for Graphics in C - cHow to use FileStream to add to a file without an exclusive lock? - c #Как получить дескриптор файла из командной строки? - perlAll Articles