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

来源:互联网 发布:等距抽样的算法 编辑:程序博客网 时间:2024/06/04 22:04

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


0 0
原创粉丝点击