Response code
|
Meaning
|
2xx
Successful
|
Response
codes between 200 and 299 indicate that the request was received, understood,
and accepted.
|
200 OK
|
This is the
most common response code. If the request used GET or POST, the requested
data is contained in the response along with the usual headers. If the
request used HEAD, only the header information is included.
|
201 Created
|
The server
has created a data file at a URL specified in the body of the response. The
web browser should now attempt to load that URL. This is sent only in
response to POST requests.
|
202 Accepted
|
This rather
uncommon response indicates that a request (generally from POST) is being
processed, but the processing is not yet complete so no response can be
returned. The server should return an HTML page that explains the situation
to the user, provides an estimate of when the request is likely to be
completed, and, ideally, has a link to a status monitor of some kind.
|
204 No
Content
|
The server
has successfully processed the request but has no information to send back to
the client. This is usually the result of a poorly written form-processing
program that accepts data but does not return a response to the user
indicating that it has finished.
|
3xx
Redirection
|
Response
codes from 300 to 399 indicate that the web browser needs to go to a
different page.
|
300 Multiple
Choices
|
The page
requested is available from one or more locations. The body of the response
includes a list of locations from which the user or web browser can pick the
most appropriate one. If the server prefers one of these locations, the URL
of this choice is included in a Location header, which web browsers can use
to load the preferred page.
|
301 Moved
Permanently
|
The page has
moved to a new URL. The web browser should automatically load the page at
this URL and update any bookmarks that point to the old URL.
|
302 Moved
Temporarily
|
This unusual
response code indicates that a page is temporarily at a new URL but that the
document's location will change again in the foreseeable future, so bookmarks
should not be updated.
|
304 Not
Modified
|
The client
has performed a GET request but used the If-Modified-Since header to indicate
that it wants the document only if it has been recently updated. This status
code is returned because the document has not been updated. The web browser
will now load the page from a cache.
|
4xx Client
Error
|
Response
codes from 400 to 499 indicate that the client has erred in some fashion,
although the error may as easily be the result of an unreliable network
connection as of a buggy or nonconforming web browser. The browser should
stop sending data to the server as soon as it receives a 4xx response. Unless
it is responding to a HEAD request, the server should explain the error
status in the body of its response.
|
400 Bad
Request
|
The client
request to the server used improper syntax. This is rather unusual, although
it is likely to happen if you're writing and debugging a client.
|
401
Unauthorized
|
Authorization,
generally username and password controlled, is required to access this page.
Either the username and password have not yet been presented or the username
and password are invalid.
|
403
Forbidden
|
The server
understood the request but is deliberately refusing to process it.
Authorization will not help. One reason this occurs is that the client asks
for a directory listing but the server is not configured to provide it, as
shown in Figure
3-1.
|
404 Not
Found
|
This most
common error response indicates that the server cannot find the requested
page. It may indicate a bad link, a page that has moved with no forwarding
address, a mistyped URL, or something similar.
|
5xx Server
Error
|
Response
codes from 500 to 599 indicate that something has gone wrong with the server,
and the server cannot fix the problem.
|
500 Internal
Server Error
|
An
unexpected condition occurred that the server does not know how to handle.
|
501 Not
Implemented
|
The server
does not have the feature that is needed to fulfill this request. A server
that cannot handle POST requests might send this response to a client that
tried to POST form data to it.
|
502 Bad
Gateway
|
This
response is applicable only to servers that act as proxies or gateways. It
indicates that the proxy received an invalid response from a server it was
connecting to in an effort to fulfill the request.
|
503 Service
Unavailable
|
The server
is temporarily unable to handle the request, perhaps as a result of
overloading or maintenance.
|
相关推荐
HTTP1.0和HTTP1.1是该协议的两个主要版本,它们在Web通信中扮演着至关重要的角色。本篇文章将深入探讨这两个版本的区别与特点。 HTTP1.0是最早的公共HTTP规范,定义于RFC1945。在这个版本中,HTTP被视为一种无状态...
支持所有在RFC1945(HTTP / 1.0),RFC2616(HTTP / 1.1),RFC2518(WebDAV),RFC6585(其他HTTP状态代码)和RFC7538(永久重定向)中定义的状态代码。 TypeScript或JavaScript。 完全与图书馆无关。 没有依赖...
《PyPI官网下载 | status_codes_light-1.0.tar.gz》 PyPI(Python Package Index)是Python开发者的重要资源库,它提供了大量的第三方Python库,方便开发者进行项目开发。本资源"status_codes_light-1.0.tar.gz"是...
nginx_response_codes #开发中; 不使用! 来自 nginx 服务器的响应代码的指标! ####Build(可能需要root访问权限YMMV): ./configure --add-module=path/to/repo/nginx_response_codes make make install ##...
Optical information authentication using compressed double-random-phase-encoded images and quick-response codes
Error-Correcting Codes, by Professor Peterson, was originally published in 1961. Now, with E. J. Weldon, Jr., as his coauthor, Professor Peterson has extensively rewritten his material. The book ...
为此,纠错码(Error-Correcting Codes, ECC)作为一项关键的技术手段,在减少数据传输过程中的错误方面发挥着基础性的作用。本书《代数编码在数据传输中的应用》由伊利诺伊大学厄巴纳-香槟分校电气与计算机工程系...
github-recovery-codes.txt
HTTP Status Codes
在这个名为"C++ Codes"的压缩包中,可能包含了各种C++编程的示例代码、练习项目或库,涉及了C++的多个方面,例如基础语法、类与对象、模板、异常处理、STL(标准模板库)等。 **C++基础语法** C++的基础语法包括...
### SMD-Codes:主动型SMD半导体组件的标记代码 #### 概述 随着电子产品技术的不断进步和发展,表面贴装技术(Surface Mount Technology,简称SMT)因其体积小、重量轻、易于自动化组装等优点,在电子产品的设计与...
- **克尔多克码(Kerdock Codes)**与**预备拉塔码(Preparata Codes)**:这两类码具有良好的非线性性质,适合于某些特定的应用场景。 - **自对偶码(Self-Dual Codes)**:这类码具有独特的数学性质,在编码理论中占有...
Cracking Codes with Python: An Introduction to Building and Breaking Ciphers (True PDF)
标题中的“MATLAB Codes for Finite Element Analysis”表明这是一个关于使用MATLAB进行有限元分析的资源。有限元分析(Finite Element Analysis, FEA)是一种数值计算方法,常用于工程领域,如结构力学、流体力学等...
### 低密度奇偶校验码 (Low Density Parity Check Codes) #### 概述 低密度奇偶校验码(Low Density Parity Check Codes,简称LDPC码)是一种高效的线性错误校正码,最初由罗伯特·G·加拉格尔(Robert G. ...
【描述】"fk fk2_codes 2_codes fk2_codes fk2_codes fk2_codes fk2_codes fk2_codes"看起来像是重复的关键词,"fk"可能是缩写,可能是开发者的名字、项目代号或者是某种编程概念的简写。"2_codes"可能表示第二版...
codes for collaborative filtering, which enables us to efficiently make recommendations with time complexity that is independent of the total number of items. We propose to construct binary codes for ...
目录安装作曲家 composer require kayex/http-codes用法这些代码可作为HttpCodes类上的public static属性进行访问 use Kayex \ HttpCodes ;echo HttpCodes :: HTTP_OK ; // 200可选:Laravel别名Laravel用户可能希望...