Home Backend Development PHP Tutorial In-depth explanation of HTTP response status code cheat sheet_PHP tutorial

In-depth explanation of HTTP response status code cheat sheet_PHP tutorial

Jul 21, 2016 pm 03:07 PM
c http response server url information response head examine go deep state of Detailed explanation

HTTP header information check URL HTTP Server Response Code Checker

Common response status codes

1**: The request is received, continue processing
2**: The operation is successfully received, analyzed and accepted
3**: This request must be processed further
4**: The request contains An incorrect syntax or failure to complete
5**: The server failed to perform a fully valid request

100 - The client must continue to make requests
101 - The client requires the server to convert the HTTP protocol version according to the request

200——Transaction successful
201——Prompt to know the URL of the new file
202——Accepted and processed, but the processing is not completed
203——Return information is uncertain or incomplete
204——Request received, but the return information is empty
205——The server has completed the request, the user agent must reset the currently browsed files
206——The server has completed some users’ GET requests

300 - The requested resource is available in multiple places
301 - Delete the request data
302 - The request data was found at another address
303 - Recommend the customer to visit other URLs or access methods
304 - The client has performed GET, but the file has not changed
305 - The requested resource must be obtained from the address specified by the server
306 - Code used in the previous version of HTTP, current version No longer used in
307 - Declaring that the requested resource is temporarily deleted

400 - Bad request, such as syntax error
401 - Request authorization failed
402 - Retain valid ChargeTo header response
403 - Request not allowed
404 - No file found , query or URl
405 - The method defined by the user in the Request-Line field is not allowed
406 - According to the Accept drag sent by the user, the requested resource is not accessible
407 - Similar to 401, the user must first Authorized on the proxy server
408 - The client did not complete the request within the user-specified time
409 - The request cannot be completed for the current resource status
410 - This is no longer available on the server Resource with no further reference
411 - The server rejected the user-defined Content-Length attribute request
412 - One or more request header fields are incorrect in the current request
413 - The requested resource Larger than the size allowed by the server
414 - The requested resource URL is longer than the length allowed by the server
415 - The requested resource does not support the requested item format
416 - The request contains the Range request header field, which is in the current request There is no range indication value in the resource range, and the request
does not contain the If-Range request header field
417 - the server does not meet the expectations specified by the request Expect header field. If it is a proxy server, it may be the next
one The level server cannot fulfill the request

500 - The server generated an internal error
501 - The server does not support the requested function
502 - The server is temporarily unavailable, sometimes to prevent system overload from occurring
503 - The server is overloaded or suspended Maintenance
504 - The gateway is overloaded, the server uses another gateway or service to respond to the user, and the waiting time is set to a long value
505 - The server does not support or refuses to support the HTTP version specified in the request header

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/327507.htmlTechArticleHTTP header information check URL HTTP Server Response Code Checker Common response status code 1**: Request received, continue Processing 2**: The operation is received successfully, analyzed and accepted 3**: To complete this request, you must...
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1662
14
PHP Tutorial
1262
29
C# Tutorial
1235
24
Detailed explanation of obtaining administrator rights in Win11 Detailed explanation of obtaining administrator rights in Win11 Mar 08, 2024 pm 03:06 PM

Windows operating system is one of the most popular operating systems in the world, and its new version Win11 has attracted much attention. In the Win11 system, obtaining administrator rights is an important operation. Administrator rights allow users to perform more operations and settings on the system. This article will introduce in detail how to obtain administrator permissions in Win11 system and how to effectively manage permissions. In the Win11 system, administrator rights are divided into two types: local administrator and domain administrator. A local administrator has full administrative rights to the local computer

Detailed explanation of division operation in Oracle SQL Detailed explanation of division operation in Oracle SQL Mar 10, 2024 am 09:51 AM

Detailed explanation of division operation in OracleSQL In OracleSQL, division operation is a common and important mathematical operation, used to calculate the result of dividing two numbers. Division is often used in database queries, so understanding the division operation and its usage in OracleSQL is one of the essential skills for database developers. This article will discuss the relevant knowledge of division operations in OracleSQL in detail and provide specific code examples for readers' reference. 1. Division operation in OracleSQL

How to check if a string starts with a specific character in Golang? How to check if a string starts with a specific character in Golang? Mar 12, 2024 pm 09:42 PM

How to check if a string starts with a specific character in Golang? When programming in Golang, you often encounter situations where you need to check whether a string begins with a specific character. To meet this requirement, we can use the functions provided by the strings package in Golang to achieve this. Next, we will introduce in detail how to use Golang to check whether a string starts with a specific character, with specific code examples. In Golang, we can use HasPrefix from the strings package

Detailed explanation of the role and usage of PHP modulo operator Detailed explanation of the role and usage of PHP modulo operator Mar 19, 2024 pm 04:33 PM

The modulo operator (%) in PHP is used to obtain the remainder of the division of two numbers. In this article, we will discuss the role and usage of the modulo operator in detail, and provide specific code examples to help readers better understand. 1. The role of the modulo operator In mathematics, when we divide an integer by another integer, we get a quotient and a remainder. For example, when we divide 10 by 3, the quotient is 3 and the remainder is 1. The modulo operator is used to obtain this remainder. 2. Usage of the modulo operator In PHP, use the % symbol to represent the modulus

How to implement HTTP streaming using C++? How to implement HTTP streaming using C++? May 31, 2024 am 11:06 AM

How to implement HTTP streaming in C++? Create an SSL stream socket using Boost.Asio and the asiohttps client library. Connect to the server and send an HTTP request. Receive HTTP response headers and print them. Receives the HTTP response body and prints it.

LG mass-produces 27-inch 480Hz QHD gaming OLED panel with record-breaking clarity and response speed LG mass-produces 27-inch 480Hz QHD gaming OLED panel with record-breaking clarity and response speed Sep 01, 2024 pm 03:37 PM

Recently, LG Display announced that its 27-inch 480Hz QHD gaming OLED panel has officially entered mass production. This panel has created a new high in refresh rate and response speed among OLED products. The 480Hz refresh rate is paired with a GtG grayscale response time of 0.02ms, which is a step further than the previous record of 0.03ms, bringing the ultimate experience to game types such as FPS and racing. . The new panel optimizes LG Display’s META Technology to improve the luminous efficiency of OLED materials. The image quality is enhanced and specular reflection is greatly reduced. The four-sided frameless design expands the field of view and brings an immersive experience. Pixel structure optimization WRGB pixel structure is optimized for gaming and document editing needs. Text display is clearer

How to check whether a table exists in Oracle stored procedure How to check whether a table exists in Oracle stored procedure Mar 08, 2024 pm 12:36 PM

How to check whether a table exists in the Oracle database in Oracle stored procedures. Developers often need to write stored procedures to complete some complex business logic. When writing a stored procedure, sometimes it is necessary to determine whether a certain table exists in the program, so that different operations can be performed based on whether the table exists. This article will introduce how to check whether a table exists in Oracle stored procedures and provide specific code examples. In Oracle, you can query the USER_TABLES data dictionary view to

Deep Dive: How to Convert PHP Code to C Deep Dive: How to Convert PHP Code to C Mar 12, 2024 pm 01:36 PM

PHP is a scripting language widely used in web development, while C language is a low-level programming language. In some specific scenarios, it may be necessary to convert PHP code into C language to improve program performance and operating efficiency. This article will delve into how PHP code is converted to C language and give specific code examples. Reasons for converting PHP code to C language First, let us take a look at why it is sometimes necessary to convert PHP code to C language? PHP is an interpreted language, and the execution code needs to be interpreted line by line during runtime.

See all articles