HTTP Response codes

Source: Internet
Author: User

Constant continue = 100! Continue
CONSTANT SWITCH_PROTOCOLS = 101! Switching Protocols
Constant OK = 200! OK
Constant created = 201! Created
Constant accepted = 202! Accepted
CONSTANT NON_AUTH_INFO = 203! Non-Authoritative Information
CONSTANT NO_CONTENT = 204! No Content
CONSTANT RESET_CONTENT = 205! Reset Content
CONSTANT PARTIAL_CONTENT = 206! Partial Content
CONSTANT MULTIPLE_CHOICES = 300! Multiple Choices
Constant moved = 301! Moved Permanently
Constant found = 302! Found
CONSTANT SEE_OTHER = 303! See Other
CONSTANT NOT_MODIFIED = 304! Not Modified
CONSTANT USE_PROXY = 305! Use Proxy
Constant temporary = 307! Temporary Redirect
CONSTANT bad_req= 400! Bad Request
Constant unauthorized = 401! Unauthorized
CONSTANT payment_req= 402! Payment Required
Constant forbidden = 403! Forbidden
CONSTANT NOT_FOUND = 404! Not Found
CONSTANT NOT_ALLOWED = 405! Method Not Allowed
Constant not_acceptable = 406! Not acceptable
Constant proxy_auth_req= 407! Proxy authentication required
Constant req_timeout = 408! Request time-out
Constant conflict = 409! Conflict
Constant gone = 410! Gone
Constant length_req= 411! Length required
CONSTANT PRECOND_FAILED = 412! Precondition Failed
CONSTANT req_entity_2big= 413! Request Entity Too Large
CONSTANT REQ_URI_2BIG = 414! Request-URI Too Large
CONSTANT UNSUP_MEDIA = 415! Unsupported Media Type
CONSTANT OUT_OF_RANGE = 416! Requested range not satisfied
CONSTANT EXPECT_FAILED = 417! Expectation Failed
CONSTANT SERVER_ERROR = 500! Internal Server Error
CONSTANT NOT_IMPLEMENTED = 501! Not Implemented
CONSTANT BAD_GATEWAY = 502! Bad Gateway
CONSTANT NO_SERVICE = 503! Service Unavailable
CONSTANT GATEWAY_TIMEOUT = 504! Gateway Time-out
CONSTANT UNSUP_HTTP_VER = 505! HTTP Version not supported

Constant req_succeeded = 1! Successful statement
Constant req_http_code = 0! HTTP request succeeded.
Constant req_generic_err =-1! Generic Error
Constant req_socket_err =-2! Socket Error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.