Home > Web Front-end > Front-end Q&A > What does http status code mean? What are the common http status codes?

What does http status code mean? What are the common http status codes?

云罗郡主
Release: 2019-01-12 16:32:19
Original
11651 people have browsed it

As developers, we are very familiar with http status codes. Only by being familiar with these http status codes can we find the key to the problem. So what does the http status code mean? What are the common http status codes? Next, php Chinese website will introduce to you the http status code.

What does http status code mean? What are the common http status codes?

1: What does http status code mean

When the user is browsing the web, the browser will return an http status Code is mainly used to respond to browser requests. Usually, it is usually a 3-digit number. The http status code is defined by RFC 2616. The first digit of all status codes represents the status.

2: What are the common http status codes?

1.HTTP 200 status code

HTTP 200 status code indicates that the request is successful, and the The request hopes to return a response. If you see 200 when visiting the website or viewing the web space log, it means it is normal.

2.HTTP 301 status code

HTTP 301 status code may not be unfamiliar to operation and maintenance personnel. Generally, 301 will be used when a website jumps. Under normal circumstances, Because the domain name expires or the domain name is not renewed, resources are transferred to other websites. 301 is a permanent redirect.

3. HTTP 404 status code [Recommended reading: What does 404 not found mean]

When the user is When accessing the website, a 404 page may appear. The reason for the 404 page may be that the requested resource does not exist and the page may be deleted.

4.HTTP 500 status code

HTTP 500 status code is also the most common status code. I believe many programmers have encountered it. 500 means there is a problem with the website server, but Different status codes represent different problems on the server.

The above is what does the team http status code mean? A full introduction to the commonly used http status codes. If you want to know more about HTTP video tutorial, please pay attention to the php Chinese website.


The above is the detailed content of What does http status code mean? What are the common http status codes?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template