您的位置:首页 > 理论基础 > 计算机网络

HTTP 的应答码,错误码,通信码

2015-09-15 15:24 495 查看

HTTP 的应答码,错误码,通信码

Http是一个无状态协议,同一个会话的连续两个请求互相不了解,他们由最新实例化的环境进行解析,除了应用本身可能已经存储在全局对象中的所有信息外,该环境不保存与会话有关的任何信息。
其应答码,错误码,通信码通常包含如下内容:

"100" : Continue

"101 " : witching Protocols

"200" : OK

"201 " : Created

"202 " : Accepted

"203 " : Non-Authoritative Information

"204 " : No Content

"205 " : Reset Content

"206 " : Partial Content (局部内容)

"300 " : Multiple Choices

"301 " : Moved Permanently

"302 " : Found

"303 " : See Other

"304" : Not Modified (不能修改)

"305 " : Use Proxy

"307 " : Temporary Redirect

"400 " : Bad Request

"401 " : Unauthorized

"402 " : Payment Required

"403 " : Forbidden

"404" : Not Found


"405 " : Method Not Allowed

"406 " : Not Acceptable

"407 " : Proxy Authentication Required

"408 " : Request Time-out

"409 " : Conflict

"410 " : Gone

"411 " : Length Required

"412 " : Precondition Failed

"413 " : Request Entity Too Large

"414 " : Request-URI Too Large

"415 " : Unsupported Media Type

"416 " : Requested range not satisfiable

"417 " : Expectation Failed

"500" : Internal Server Error

"501 " : Not Implemented

"502 " : Bad Gateway

"503 " : Service Unavailable

"504 " : Gateway Time-out

"505 " : HTTP Version not supported
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: