博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
常见的HTTP状态码
阅读量:7111 次
发布时间:2019-06-28

本文共 1444 字,大约阅读时间需要 4 分钟。

企业生产环境常见的http返回状态码汇总,如下表格:

HTTP状态码
英文解释
中文解释
     200
-OK,- Standard response for successful HTTP requests. 发出http请求后服务器成功返回正确的网页
     301 
-Moved Permanently , - This and all future requests should be directed to the given. 请求的网页已永久跳转到新位置。(永久跳转),
     302 

-Temporary Moved 

请求已临时跳转到新位置

    

     403

-Forbidden,forbidden request (matches a deny filter) => HTTP 403
    - The request was a legal request, but the server is refusing to respond to it.
(禁止访问),服务器拒绝请求

     

     404

-Not Found- The requested resource could not be found but may be available again in the future. 服务器找不到请求的页面。

   

     500

- Internal Server Error- internal error in haproxy => HTTP 500
    - A generic error message, given when no more specific message is suitable.
(内部服务器错误)前端负载均衡器错误

     

     502

- Bad Gateway- the server returned an invalid or incomplete response => HTTP 502
    - The server was acting as a gateway or proxy and received an invalid response from the upstream server.
(坏的网关),一般是网关服务器请求后端服务时,后端服务没有按照http协议正确返回结果。

   

     503

- Service Unavailable- no server was available to handle the request => HTTP 503
    - The server is currently unavailable (because it is overloaded or down for maintenance).
(服务当前不可用),可能因为超载或停机维护。

     

     504

- Gateway Timeout  - the server failed to reply in time => HTTP 504
    - The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
(网关超时),一般是网关服务器请求后端服务时,后端服务没有在特定的时间内完成服务。

本文转自chengong1013 51CTO博客,原文链接:http://blog.51cto.com/purify/1788434,如需转载请自行联系原作者

你可能感兴趣的文章
升级TFS2012查看SOURCE-history部分提示TF14045: The identity xxx is not a recognized identity
查看>>
python 可以写 桌面应用程序不?需要依赖 python 么?python 是不是 类似.net framework?...
查看>>
【Web技术学习】PHP学习笔记
查看>>
(转)理解SQLSERVER中的排序规则
查看>>
sizeof和strlen与带汉字字符的
查看>>
TCP 套接字函数
查看>>
安卓Android手机系统内文件夹目录解释
查看>>
IOS UIImage 内存细节
查看>>
使用VS2010 C#开发ActiveX控件
查看>>
js+css实例超漂亮tab切换选项卡代码
查看>>
uva11825Hacker's Crackdown
查看>>
Strange Towers of Hanoi(DP,汉诺塔)
查看>>
Page cache和Buffer cache[转1]
查看>>
设计模式:适配器模式(Adapter Pattern)
查看>>
linux注销、关机、重启
查看>>
一个升级程序
查看>>
CSS:display 属性
查看>>
多路复用IO一例
查看>>
Martin Fowler论21世纪的软件设计
查看>>
ubuntu下安装Apache+PHP+MySQL
查看>>