HTTP响应代码
2014-05-06 11:11
537 查看
状态代码(head)
1xx 纯信息(请求已被服务器接受)
2xx 成功类(请求已成功地被服务器接收)
3xx 重定向(需要后续操作才能完成这一请求)
4xx 客户端错误(请求含有词法错误或者无法被执行)
5xx 服务端错误(服务器在处理某个正确请求时发生错误)
=========================
100 continue
101 switching protocols
====
200 OK
201 accepted
203 non-authoritative information
204 nocontent
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
用户权限不正确
403 forbidden
资源不可用
404 not found
文件没有找到
405 method not allowed
请求的方法不正确;方法(GET、POST、HEAD、DELETE、PUT、TRACE...)
406 not acceptable
指定的资源已经找到,它的MIME类型和客户在accept头中所指定的不兼容
407 proxy authentication required
需要代理认证
408 request timeout
请求超时
409 conflict
请求和资源的当前状态相冲突
410 gone
请求的文档不可用,表示文档永久地离开了这个位置(404表示由于未知原因不可用)
411 lengthrequired
服务器不能处理请求
412 precondition failed
413 request entity toolarge
414 request URI too long
416 requested range not satisfiable
====
500 internal server error
服务器内部错误
501 not implemented
服务器不支持的功能或是媒体类型
502 bad gateway
错误的网关,或是上游服务器来的无效响应
503 service unavailable
无效的服务
504 gateway timeout
网管超时
504 http version not supported
服务器不支持请求中所定义的HTTP版本
====================
测试http服务
# lynx localhost
# lynx http://172.16.180.220/libr
1xx 纯信息(请求已被服务器接受)
2xx 成功类(请求已成功地被服务器接收)
3xx 重定向(需要后续操作才能完成这一请求)
4xx 客户端错误(请求含有词法错误或者无法被执行)
5xx 服务端错误(服务器在处理某个正确请求时发生错误)
=========================
100 continue
101 switching protocols
====
200 OK
201 accepted
203 non-authoritative information
204 nocontent
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
用户权限不正确
403 forbidden
资源不可用
404 not found
文件没有找到
405 method not allowed
请求的方法不正确;方法(GET、POST、HEAD、DELETE、PUT、TRACE...)
406 not acceptable
指定的资源已经找到,它的MIME类型和客户在accept头中所指定的不兼容
407 proxy authentication required
需要代理认证
408 request timeout
请求超时
409 conflict
请求和资源的当前状态相冲突
410 gone
请求的文档不可用,表示文档永久地离开了这个位置(404表示由于未知原因不可用)
411 lengthrequired
服务器不能处理请求
412 precondition failed
413 request entity toolarge
414 request URI too long
416 requested range not satisfiable
====
500 internal server error
服务器内部错误
501 not implemented
服务器不支持的功能或是媒体类型
502 bad gateway
错误的网关,或是上游服务器来的无效响应
503 service unavailable
无效的服务
504 gateway timeout
网管超时
504 http version not supported
服务器不支持请求中所定义的HTTP版本
====================
测试http服务
# lynx localhost
# lynx http://172.16.180.220/libr
相关文章推荐
- HTTP响应时间测试代码
- http响应代码解释
- HTTP响应代码(Response Status Code)中文详解
- http响应代码
- HTTP Response Status Code -- HTTP响应代码中文详解
- HTTP Response Status Code -- HTTP响应代码中文详解
- HTTP协议-通过FIREFOX火狐调试工具观察HTTP常见响应代码
- 使用JAVA发送HTTP请求(Http Request),返回HTTP响应(Http Response)内容,代码程序例子及原理说明
- HTTP协议:HTTP请求消息/请求方法、HTTP响应消息/响应状态代码
- HTTP响应代码中文详解(HTTP Response Status Code)[转]
- HTTP Response Status Code -- HTTP响应代码中文详解
- 掌握 Ajax,第 3 部分: Ajax 中的高级请求和响应 全面理解 HTTP 的状态代码、就绪状态和 XMLHttpRequest 对象
- HTTP消息及响应消息的状态代码分类、含义
- HTTP响应代码
- 有人问过你http响应代码分别代表什么意义么?今天帖个全的
- HTTP响应代码
- HTTP Response Status Code -- HTTP响应代码中文详解
- Hypertext Transfer Protocol -- HTTP/1.1 Status Code(HTTP 响应状态代码)
- 【Java&Android开源库代码剖析】のandroid-async-http の网络响应ResponseHandlerInter
- http请求响应代码及其代表的错误含义