для тех, кому лень лезть в RFC | Код | package net { public final class HTTPStatusCodes { public static const CONTINUE:uint = 100; public static const SWITCHING_PROTOCOLS:uint = 101; public static const OK:uint = 200; public static const CREATED:uint = 201; public static const ACCEPTED:uint = 202; public static const NON_AUTHORITATIVE_INFORMATION:uint = 203; public static const NO_CONTENT:uint = 204; public static const RESET_CONTENT:uint = 205; public static const PARTIAL_CONTENT:uint = 206; public static const MULTIPLE_CHOISE:uint = 300; public static const MOVED_PERMANENTLY:uint = 301; public static const FOUNT:uint = 302; public static const SEE_OTHER:uint = 303; public static const NOT_MODIFIED:uint = 304; public static const USE_PROXY:uint = 305; public static const TEMPORARY_REDIRECT:uint = 307; public static const BAD_REQUEST:uint = 400; public static const UNATHORIZED:uint = 401; public static const PAYMENT_REQUIRED:uint = 402; public static const FORBIDDEN:uint = 403; public static const NOT_FOUND:uint = 404; public static const METHOD_NOT_ALLOWED:uint = 405; public static const NOT_ACCEPTABLE:uint = 406; public static const PROXY_AUTHENTICATION_REQUIRED:uint = 407; public static const REQUEST_TIME_OUT:uint = 408; public static const CONFLICT:uint = 409; public static const GONE:uint = 410; public static const LENGTH_REQUIRED:uint = 411; public static const PRECONDITION_FAILED:uint = 412; public static const REQUEST_ENTITY_TOO_LARGE:uint = 413; public static const REQUEST_URI_TOO_LARGE:uint = 414; public static const UNSUPPORTED_MEDIA_TYPE:uint = 415; public static const REQUEST_RANGE_NOT_SATISIFIABLE:uint = 416; public static const EXPECTATION_FAILED:uint = 417; public static const INTERNAL_SERVER_ERROR:uint = 500; public static const NOT_IMPLEMENTED:uint = 501; public static const BAD_GATEWAY:uint = 502; public static const SERVICE_UNAVAILABLE:uint = 503; public static const GATEWAY_TIME_OUT:uint = 504; public static const HTTP_VERSION_NOT_SUPPORTED:uint = 505; } }
|
|