微軟Http錯誤Code解析

來源:互聯網
上載者:User
HTTP 響應狀態代碼

#define HTTP_STATUS_CONTINUE            100   OK to continue with request.#define HTTP_STATUS_SWITCH_PROTOCOLS    101   Server has switchedprotocols in upgrade header.#define HTTP_STATUS_OK                  200   Request complete.#define HTTP_STATUS_CREATED             201   Object created, reason = newURI.#define HTTP_STATUS_ACCEPTED            202   Async completion (TBS).#define HTTP_STATUS_PARTIAL             203   Partial completion.#define HTTP_STATUS_NO_CONTENT          204   No information to return.#define HTTP_STATUS_RESET_CONTENT       205   Request complete, clear form.#define HTTP_STATUS_PARTIAL_CONTENT     206   Partial GET fulfilled.#define HTTP_STATUS_AMBIGUOUS           300   Server could not determinewhat to return.#define HTTP_STATUS_MOVED               301   Object permanently moved.#define HTTP_STATUS_REDIRECT            302   Object temporarily moved.#define HTTP_STATUS_REDIRECT_METHOD     303   Redirection with new accessmethod.#define HTTP_STATUS_NOT_MODIFIED        304   If-modified-since was notmodified.#define HTTP_STATUS_USE_PROXY           305   Redirection to proxy,location header specifiesproxy to use.#define HTTP_STATUS_REDIRECT_KEEP_VERB  307   HTTP/1.1: keep same verb.#define HTTP_STATUS_BAD_REQUEST         400   Invalid syntax.#define HTTP_STATUS_DENIED              401   Access denied.#define HTTP_STATUS_PAYMENT_REQ         402   Payment required.#define HTTP_STATUS_FORBIDDEN           403   Request forbidden.#define HTTP_STATUS_NOT_FOUND           404   Object not found.#define HTTP_STATUS_BAD_METHOD          405   Method is not allowed.#define HTTP_STATUS_NONE_ACCEPTABLE     406   No response acceptable toclient found.#define HTTP_STATUS_PROXY_AUTH_REQ      407   Proxy authenticationrequired.#define HTTP_STATUS_REQUEST_TIMEOUT     408   Server timed out waiting forrequest.#define HTTP_STATUS_CONFLICT            409   User should resubmit withmore information.#define HTTP_STATUS_GONE                410   The resource is no longeravailable.#define HTTP_STATUS_LENGTH_REQUIRED     411   The server refused to acceptrequest without a length.#define HTTP_STATUS_PRECOND_FAILED      412   Precondition given inrequest failed.#define HTTP_STATUS_REQUEST_TOO_LARGE   413   Request entity was too large.#define HTTP_STATUS_URI_TOO_LONG        414   Request URI too long.#define HTTP_STATUS_UNSUPPORTED_MEDIA   415   Unsupported media type.#define HTTP_STATUS_RETRY_WITH          449   Retry after doing theappropriate action.#define HTTP_STATUS_SERVER_ERROR        500   Internal server error.#define HTTP_STATUS_NOT_SUPPORTED       501   Required not supported.#define HTTP_STATUS_BAD_GATEWAY         502   Error response received fromgateway.#define HTTP_STATUS_SERVICE_UNAVAIL     503   Temporarily overloaded.#define HTTP_STATUS_GATEWAY_TIMEOUT     504   Timed out waiting forgateway.#define HTTP_STATUS_VERSION_NOT_SUP     505   HTTP version not supported.
返回 Internet API 錯誤
#define INTERNET_ERROR_BASE                        12000#define ERROR_INTERNET_OUT_OF_HANDLES              12001#define ERROR_INTERNET_TIMEOUT                     12002#define ERROR_INTERNET_EXTENDED_ERROR              12003#define ERROR_INTERNET_INTERNAL_ERROR              12004#define ERROR_INTERNET_INVALID_URL                 12005#define ERROR_INTERNET_UNRECOGNIZED_SCHEME         12006#define ERROR_INTERNET_NAME_NOT_RESOLVED           12007#define ERROR_INTERNET_PROTOCOL_NOT_FOUND          12008#define ERROR_INTERNET_INVALID_OPTION              12009#define ERROR_INTERNET_BAD_OPTION_LENGTH           12010#define ERROR_INTERNET_OPTION_NOT_SETTABLE         12011#define ERROR_INTERNET_SHUTDOWN                    12012#define ERROR_INTERNET_INCORRECT_USER_NAME         12013#define ERROR_INTERNET_INCORRECT_PASSWORD          12014#define ERROR_INTERNET_LOGIN_FAILURE               12015#define ERROR_INTERNET_INVALID_OPERATION           12016#define ERROR_INTERNET_OPERATION_CANCELLED         12017#define ERROR_INTERNET_INCORRECT_HANDLE_TYPE       12018#define ERROR_INTERNET_INCORRECT_HANDLE_STATE      12019#define ERROR_INTERNET_NOT_PROXY_REQUEST           12020#define ERROR_INTERNET_REGISTRY_VALUE_NOT_FOUND    12021#define ERROR_INTERNET_BAD_REGISTRY_PARAMETER      12022#define ERROR_INTERNET_NO_DIRECT_ACCESS            12023#define ERROR_INTERNET_NO_CONTEXT                  12024#define ERROR_INTERNET_NO_CALLBACK                 12025#define ERROR_INTERNET_REQUEST_PENDING             12026#define ERROR_INTERNET_INCORRECT_FORMAT            12027#define ERROR_INTERNET_ITEM_NOT_FOUND              12028#define ERROR_INTERNET_CANNOT_CONNECT              12029#define ERROR_INTERNET_CONNECTION_ABORTED          12030#define ERROR_INTERNET_CONNECTION_RESET            12031#define ERROR_INTERNET_FORCE_RETRY                 12032#define ERROR_INTERNET_INVALID_PROXY_REQUEST       12033#define ERROR_INTERNET_NEED_UI                     12034#define ERROR_INTERNET_HANDLE_EXISTS               12036#define ERROR_INTERNET_SEC_CERT_DATE_INVALID       12037#define ERROR_INTERNET_SEC_CERT_CN_INVALID         12038#define ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR      12039#define ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIR      12040#define ERROR_INTERNET_MIXED_SECURITY              12041#define ERROR_INTERNET_CHG_POST_IS_NON_SECURE      12042#define ERROR_INTERNET_POST_IS_NON_SECURE          12043#define ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED     12044#define ERROR_INTERNET_INVALID_CA                  12045#define ERROR_INTERNET_CLIENT_AUTH_NOT_SETUP       12046#define ERROR_INTERNET_ASYNC_THREAD_FAILED         12047#define ERROR_INTERNET_REDIRECT_SCHEME_CHANGE      12048#define ERROR_INTERNET_DIALOG_PENDING              12049#define ERROR_INTERNET_RETRY_DIALOG                12050#define ERROR_INTERNET_HTTPS_HTTP_SUBMIT_REDIR     12052#define ERROR_INTERNET_INSERT_CDROM                12053#define ERROR_INTERNET_FORTEZZA_LOGIN_NEEDED       12054#define ERROR_INTERNET_SEC_CERT_ERRORS             12055#define ERROR_INTERNET_SEC_CERT_NO_REV             12056#define ERROR_INTERNET_SEC_CERT_REV_FAILED         12057#define ERROR_HTTP_INVALID_SERVER_RESPONSE         12152#define ERROR_INTERNET_SECURITY_CHANNEL_ERROR      12157#define ERROR_INTERNET_UNABLE_TO_CACHE_FILE        12158#define ERROR_INTERNET_TCPIP_NOT_INSTALLED         12159#define ERROR_INTERNET_DISCONNECTED                12163#define ERROR_INTERNET_SERVER_UNREACHABLE          12164#define ERROR_INTERNET_PROXY_SERVER_UNREACHABLE    12165#define ERROR_INTERNET_BAD_AUTO_PROXY_SCRIPT       12166#define ERROR_INTERNET_UNABLE_TO_DOWNLOAD_SCRIPT   12167#define ERROR_INTERNET_SEC_INVALID_CERT            12169#define ERROR_INTERNET_SEC_CERT_REVOKED            12170


聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.