HTTP错误码

                HTTP status codes (the 4xx and 5xx varieties) appear when there is some kind of error loading a web page. HTTP status codes are standard types of errors so you could see them in any browser, like Internet Explorer, Firefox, Chrome, etc.Common 4xx and 5xx HTTP status codes are listed below with helpful tips to help you get past them and on to the web page you were looking for.Note: HTTP status codes that begin with 1, 2, and 3 also exist but are not errors and aren't usually seen. If you're interested, you can see them all listed here.1 400 (Bad Request)Image of a 400 on a yellow signPublic Domain, LinkThe 400 Bad Request HTTP status code means that the request you sent to the website server (for example, a request to load a web page) was somehow malformed.How to Fix a 400 Bad Request ErrorSince the server couldn't understand the request, it couldn't process it and instead gave you the 400 error.2 401 (Unauthorized)The 401 Unauthorized HTTP status code means that the page you were trying to access can not be loaded until you first log on with a valid username and password.How to Fix a 401 Unauthorized ErrorIf you've just logged on and received the 401 error, it means that the credentials you entered were invalid. Invalid credentials could mean that you don't have an account with the web site, your username was entered incorrectly, or your password was incorrect.3 403 (Forbidden)The 403 Forbidden HTTP status code means that accessing the page or resource you were trying to reach is absolutely forbidden.How to Fix a 403 Forbidden ErrorIn other words, a 403 error means that you don't have access to whatever you're trying to view.4 404 (Not Found)The 404 Not Found HTTP status code means that the page you were trying to reach could not be found on the web site's server. This is the most popular HTTP status code that you will probably see.How to Fix a 404 Not Found ErrorThe 404 error will often appear as The page cannot be found.5 408 (Request Timeout)The 408 Request Timeout HTTP status code indicates that the request you sent to the website server (like a request to load a web page) timed out.How to Fix a 408 Request Timeout ErrorIn other words, a 408 error means that connecting to the web site took longer than the website's server was prepared to wait.6 500 (Internal Server Error)500 Internal Server Error is a very general HTTP status code meaning something went wrong on the web site's server but the server could not be more specific on what the exact problem was.How to Fix a 500 Internal Server ErrorThe 500 Internal Server Error message is the most common "server-side" error you'll see.7 502 (Bad Gateway)The 502 Bad Gateway HTTP status code means that one server received an invalid response from another server that it was accessing while attempting to load the web page or fill another request by the browser.How to Fix a 502 Bad Gateway ErrorIn other words, the 502 error is an issue between two different servers on the Internet that aren't communicating properly.8 503 (Service Unavailable)The 503 Service Unavailable HTTP status code means the web site's server is simply not available at the moment.How to Fix a 503 Service Unavailable Error503 errors are usually due to a temporary overloading or maintenance of the server.9 504 (Gateway Timeout)The 504 Gateway Timeout HTTP status code means that one server did not receive a timely response from another server that it was accessing while attempting to load the web page or fill another request by the browser.How to Fix a 504 Gateway Timeout ErrorThis usually means that the other server is down or not working properly.           

再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值