91热热,亚洲一区日韩一区,蜜桃福利网站视频,香蕉久久成人精品视频,九九久久免费国产精品视频,一区二区免费,av免费蜜久蜜久在线观看,熟妇一区二区,黑丝AV在线网址

HTTP狀態(tài)碼對(duì)照表

HTTP 狀態(tài)碼是表示一次 HTTP 請(qǐng)求的結(jié)果狀態(tài),也稱為響應(yīng)狀態(tài)。本工具提供了常見(jiàn)的 HTTP 狀態(tài)對(duì)照表(中英文),從 1xx5xx,詳細(xì)介紹了每一種 HTTP 狀態(tài)的含義以及概念。其中,最常見(jiàn)的 HTTP 返回狀態(tài)是 200、301、302403、404500503 等狀態(tài)碼。HTTP 狀態(tài)碼是了解網(wǎng)頁(yè)的重要參考因素之一。

HTTP 狀態(tài)碼(HTTP Status Code)由 RFC 2616 規(guī)范定義,是用來(lái)表示網(wǎng)頁(yè)服務(wù)器 HTTP 響應(yīng)狀態(tài)的 3 位數(shù)字代碼。下面列出了常見(jiàn)的網(wǎng)頁(yè) HTTP 狀態(tài)碼,從 1xx 狀態(tài)到 5xx 狀態(tài),給出了每種狀態(tài)碼的詳細(xì)說(shuō)明,請(qǐng)查閱。如需查看指定網(wǎng)頁(yè)返回的 HTTP 狀態(tài),請(qǐng)使用本站提供的 HTTP狀態(tài)查詢 工具。

注:下表并未列出不常見(jiàn)的 HTTP 狀態(tài),如需了解不常見(jiàn) HTTP 狀態(tài)的含義,請(qǐng)參考 RFC 2616 規(guī)范。


1xx 狀態(tài):臨時(shí)響應(yīng)

1xx 系列狀態(tài)碼,表示請(qǐng)求已收到,需要請(qǐng)求者繼續(xù)執(zhí)行操作的狀態(tài)代碼。

100
繼續(xù)(Continue)
請(qǐng)求者應(yīng)當(dāng)繼續(xù)提出請(qǐng)求。 服務(wù)器返回此代碼表示已收到請(qǐng)求的第一部分,正在等待其余部
The server has received the request headers and the client should proceed to send the request body.
101
切換協(xié)議(Switching Protocols)
請(qǐng)求者已要求服務(wù)器切換協(xié)議,服務(wù)器已確認(rèn)并做好了的切換的準(zhǔn)備
The requester has asked the server to switch protocols and the server has agreed to do so.

2xx 狀態(tài):成功響應(yīng)

2xx 系列狀態(tài)碼,表示成功處理了請(qǐng)求的狀態(tài)代碼。

200
成功(Success)
服務(wù)器已成功處理了請(qǐng)求。 通常,這表示服務(wù)器提供了請(qǐng)求的網(wǎng)頁(yè)
Standard response for successful HTTP requests.
201
已創(chuàng)建(Created)
請(qǐng)求成功,并且服務(wù)器創(chuàng)建了新的資源
The request has been fulfilled, resulting in the creation of a new resource.
202
已接受(Accepted)
服務(wù)器已接受請(qǐng)求,但尚未處理
The request has been accepted for processing, but the processing has not been completed.
203
非授權(quán)信息(Non Authoritative Information)
服務(wù)器已成功處理了請(qǐng)求,但返回的信息可能來(lái)自另一來(lái)源
The server is a transforming proxy that received a 200 OK from its origin, but is returning a modified version of the origin's response.
204
無(wú)內(nèi)容(No Content)
服務(wù)器成功處理了請(qǐng)求,但沒(méi)有返回任何內(nèi)容
The server successfully processed the request and is not returning any content.
205
重置內(nèi)容(Reset Content)
服務(wù)器成功處理了請(qǐng)求,但沒(méi)有返回任何內(nèi)容。該響應(yīng)要求瀏覽器重置它所顯示的內(nèi)容
The server successfully processed the request, but is not returning any content. This response requires that the requester reset the document view.
206
部分內(nèi)容(Partial Content)
由于客戶端發(fā)送了 range 頭信息,服務(wù)器成功返回了部分資源
The server is delivering only part of the resource due to a range header sent by the client.

3xx 狀態(tài):重定向

3xx 系列狀態(tài)碼,表示要完成請(qǐng)求,需要進(jìn)一步操作。 通常,這些狀態(tài)代碼用來(lái)重定向。

300
多種選擇(Multiple Choices)
針對(duì)不同請(qǐng)求,服務(wù)器可執(zhí)行多種操作。服務(wù)器可根據(jù)請(qǐng)求者的選擇執(zhí)行對(duì)應(yīng)的操作,或者提供一個(gè)操作列表供請(qǐng)求者選擇
Indicates that multiple options for the resource from which the client may choose.
301
永久移動(dòng)(Moved Permanently)
請(qǐng)求的網(wǎng)頁(yè)已永久移動(dòng)到新位置。對(duì)于 GET 或 HEAD 請(qǐng)求,服務(wù)器返回此響應(yīng)時(shí),會(huì)自動(dòng)將請(qǐng)求者轉(zhuǎn)到新位置
Indicates the resource had been moved to another location permanently. This and all future requests should be directed to the given URI.
302
資源已找到(臨時(shí)移動(dòng))(Found (Moved Temporarily))
告訴客戶端,請(qǐng)到另一處 URL 獲取需要的資源(該狀態(tài)已被 303 和 307 狀態(tài)取代)
Tells the client to look at (browse to) another URL (302 code has been superseded by 303 and 307).
303
查看其他位置(See Other)
請(qǐng)求者應(yīng)當(dāng)對(duì)不同的位置使用單獨(dú)的 GET 請(qǐng)求來(lái)獲取資源時(shí),服務(wù)器返回此代碼
The response to the request can be found under another URI using the GET method.
304
資源未修改(Not Modified)
自從上次請(qǐng)求后,網(wǎng)頁(yè)未做過(guò)修改。服務(wù)器返回此響應(yīng)時(shí),不會(huì)返回網(wǎng)頁(yè)內(nèi)容
Indicates that the resource has not been modified since the version specified by the request headers If-Modified-Since or If-None-Match.
305
使用代理(Use Proxy)
請(qǐng)求者只能使用代理訪問(wèn)所請(qǐng)求的資源。資源地址將包含在響應(yīng)中(出于安全考慮,許多客戶端不會(huì)遵守該響應(yīng)狀態(tài))
The requested resource is available only through a proxy, the address for which is provided in the response.
306
切換代理(Switch Proxy)
后續(xù)請(qǐng)求應(yīng)該使用指定的代理(在最新版的 HTTP 規(guī)范中,該狀態(tài)碼已經(jīng)不再使用)
No longer used. Subsequent requests should use the specified proxy.
307
臨時(shí)重定向(Temporary Redirect)
請(qǐng)求者應(yīng)使用另一個(gè) URL 重新發(fā)起一次請(qǐng)求,但后續(xù)的請(qǐng)求仍應(yīng)使用原來(lái)的 URL
The request should be repeated with another URI; however, future requests should still use the original URI.
308
永久重定向(Permanent Redirect)
當(dāng)前請(qǐng)求和后續(xù)的請(qǐng)求都應(yīng)該向另一個(gè) URL 發(fā)起請(qǐng)求
The request and all future requests should be repeated using another URI.

4xx 狀態(tài):客戶端錯(cuò)誤

4xx 系列狀態(tài)碼,表示客戶端請(qǐng)求可能出現(xiàn)了錯(cuò)誤,妨礙了服務(wù)器的處理。

400
錯(cuò)誤請(qǐng)求(Bad Request)
服務(wù)器不理解客戶端請(qǐng)求的語(yǔ)法,如:請(qǐng)求語(yǔ)法錯(cuò)誤、請(qǐng)求體過(guò)大以及帶有欺騙性的請(qǐng)求路徑
The server cannot or will not process the request due to an apparent client error.
401
未授權(quán)(Unauthorized)
訪問(wèn)的資源要求身份驗(yàn)證,但請(qǐng)求時(shí)未提供授權(quán)或提供了錯(cuò)誤的授權(quán)。對(duì)于需要登錄的網(wǎng)頁(yè),服務(wù)器可能返回此響應(yīng)
The resource which authentication is required and not yet been provided (or failed).
402
需要支付信息(Payment Required)
為以后使用保留。通常用于需要提供支付的場(chǎng)景,如數(shù)字鈔票或在線支付。一個(gè)例子是:Google 開(kāi)發(fā)者 API 使用 402 狀態(tài)來(lái)表示超過(guò)了每日請(qǐng)求上限的情況
Reserved for future use. Might be used as part of some form of digital cash or micropayment scheme, but that has not yet happened.
403
禁止訪問(wèn)(Forbidden)
服務(wù)器已收到請(qǐng)求,但拒絕提供服務(wù)。出現(xiàn)此狀態(tài)通常是因?yàn)檎?qǐng)求者沒(méi)有足夠的權(quán)限訪問(wèn)請(qǐng)求的資源
The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action.
404
未找到(Not Found)
服務(wù)器找不到請(qǐng)求的網(wǎng)頁(yè)或資源
The requested resource could not be found but may be available in the future.
405
不支持的請(qǐng)求方法(Method Not Allowed)
服務(wù)器不支持當(dāng)前請(qǐng)求方法。比如:某些資源只支持 GET 和 POST 請(qǐng)求,如果發(fā)起 HEAD 請(qǐng)求,服務(wù)器將返回該狀態(tài)
A request method is not supported for the requested resource.
406
不被接受(Not Acceptable)
服務(wù)器無(wú)法使用請(qǐng)求的內(nèi)容特性響應(yīng)請(qǐng)求的網(wǎng)頁(yè),即:不支持請(qǐng)求頭部中 Accept 字段對(duì)應(yīng)的內(nèi)容
The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
407
需要代理授權(quán)(Proxy Authentication Required)
此狀態(tài)代碼與 401(未授權(quán))類似,但指定請(qǐng)求者應(yīng)當(dāng)授權(quán)使用代理
The client must first authenticate itself with the proxy.
408
請(qǐng)求超時(shí)(Request Timeout)
服務(wù)器等候請(qǐng)求時(shí)發(fā)生超時(shí)
The server timed out waiting for the request.
409
請(qǐng)求沖突(Conflict)
服務(wù)器在完成請(qǐng)求時(shí)發(fā)生沖突。服務(wù)器必須在響應(yīng)中包含有關(guān)沖突的信息
Indicates that the request could not be processed because of conflict in the current state of the resource.
410
已刪除(Gone)
如果請(qǐng)求的資源已永久刪除,服務(wù)器就會(huì)返回此響應(yīng)
Indicates that the resource requested is no longer available and will not be available again.
411
需要有效長(zhǎng)度(Length Required)
服務(wù)器無(wú)法處理不含有內(nèi)容長(zhǎng)度標(biāo)頭字段(Content-Length)的請(qǐng)求
The request did not specify the length of its content, which is required by the requested resource.
412
未滿足前提條件(Precondition Failed)
服務(wù)器未滿足請(qǐng)求者在請(qǐng)求中設(shè)置的其中一個(gè)前提條件
The server does not meet one of the preconditions that the requester put on the request header fields.
413
請(qǐng)求實(shí)體過(guò)大(Payload Too Large)
服務(wù)器無(wú)法處理請(qǐng)求,因?yàn)檎?qǐng)求實(shí)體過(guò)大,超出服務(wù)器的處理能力
The request is larger than the server is willing or able to process. Previously called "Request Entity Too Large".
414
請(qǐng)求的 URI 過(guò)長(zhǎng)(URI Too Long)
請(qǐng)求的 URI(通常為網(wǎng)址)過(guò)長(zhǎng),服務(wù)器無(wú)法處理
The URI provided was too long for the server to process. Called "Request-URI Too Long" previously.
415
不支持的媒體類型(Unsupported Media Type)
服務(wù)器不支持請(qǐng)求的內(nèi)容格式(Content-Type)
The request entity has a media type which the server or resource does not support.
416
請(qǐng)求范圍不符合要求(Range Not Satisfiable)
客戶端請(qǐng)求服務(wù)器資源的某一部分,但服務(wù)器不能提供該部分內(nèi)容時(shí),則會(huì)返回此狀態(tài)碼
The client has asked for a portion of the file (byte serving), but the server cannot supply that portion.
417
未滿足期望值(Expectation Failed)
服務(wù)器不能滿足 "Expection" 請(qǐng)求頭部的要求時(shí)返回該狀態(tài)碼
The server cannot meet the requirements of the Expect request-header field.
421
地址錯(cuò)誤的請(qǐng)求(Misdirected Request)
當(dāng)請(qǐng)求被定向到一個(gè)不能輸出響應(yīng)的服務(wù)器時(shí),則會(huì)返回該狀態(tài)
The request was directed at a server that is not able to produce a response.
422
無(wú)法處理的實(shí)體(Unprocessable Entity)
請(qǐng)求格式正確,但由于語(yǔ)義錯(cuò)誤,導(dǎo)致無(wú)法響應(yīng)請(qǐng)求
The request was well-formed but was unable to be followed due to semantic errors.
423
被鎖定(Locked)
正在訪問(wèn)的資源已被鎖定
The resource that is being accessed is locked.
424
依賴請(qǐng)求失敗(Failed Dependency)
由于之前的某個(gè)請(qǐng)求(即依賴的請(qǐng)求)發(fā)生錯(cuò)誤,導(dǎo)致當(dāng)前請(qǐng)求失敗
The request failed because it depended on another request and that request failed.

5xx 狀態(tài):服務(wù)器錯(cuò)誤

5xx 系列狀態(tài)碼,表示服務(wù)器在嘗試處理請(qǐng)求時(shí)發(fā)生內(nèi)部錯(cuò)誤。 這些錯(cuò)誤可能是服務(wù)器本身的錯(cuò)誤,而不是請(qǐng)求出錯(cuò)。

500
服務(wù)器內(nèi)部錯(cuò)誤(Internal Server Error)
服務(wù)器內(nèi)部發(fā)生錯(cuò)誤,無(wú)法完成請(qǐng)求
A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
501
尚未實(shí)現(xiàn)(Not Implemented)
服務(wù)器尚不具備完成請(qǐng)求的條件:要么無(wú)法識(shí)別請(qǐng)求方法;要么缺乏完成請(qǐng)求的能力
The server either does not recognize the request method, or it lacks the ability to fulfil the request.
502
錯(cuò)誤網(wǎng)關(guān)(Bad Gateway)
服務(wù)器作為網(wǎng)關(guān)或代理,從上游服務(wù)器收到無(wú)效響應(yīng)
The server was acting as a gateway or proxy and received an invalid response from the upstream server.
503
服務(wù)不可用(Service Unavailable)
服務(wù)器目前無(wú)法使用(由于超載或停機(jī)維護(hù))。通常,這只是一個(gè)暫時(shí)的狀態(tài)
The server can't handle the request (because it is overloaded or down for maintenance). Generally, this is a temporary state.
504
網(wǎng)關(guān)超時(shí)(Gateway Timeout)
服務(wù)器作為網(wǎng)關(guān)或代理,但是沒(méi)有及時(shí)從上游服務(wù)器收到請(qǐng)求
The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
505
不支持的 HTTP 協(xié)議版本(HTTP Version Not Supported)
服務(wù)器不支持請(qǐng)求中所用的 HTTP 協(xié)議版本
The server does not support the HTTP protocol version used in the request.

HTTP 狀態(tài)碼是網(wǎng)頁(yè)服務(wù)器響應(yīng)的最重要的參考指標(biāo)之一,對(duì)網(wǎng)站用戶體驗(yàn)、搜索引擎優(yōu)化、三方 API 設(shè)計(jì)有巨大的影響。作為程序開(kāi)發(fā)者以及網(wǎng)站管理員,需要了解并熟悉這些常見(jiàn) HTTP 狀態(tài)碼的含義,并合理地應(yīng)用到日常 web 開(kāi)發(fā)中。

涟水县| 图们市| 宁陵县| 兴国县| 绍兴市| 商都县| 章丘市| 筠连县| 黄石市| 大姚县| 根河市| 谢通门县| 万荣县| 两当县| 南皮县| 佳木斯市| 和平县| 定安县| 柳江县| 霞浦县| 北宁市| 靖州| 克东县| 沙河市| 措美县| 大足县| 延庆县| 桦甸市| 祁连县| 上杭县| 南华县| 乌鲁木齐县| 普定县| 桃园县| 手游| 渝中区| 江川县| 宁波市| 遂溪县| 罗城| 东宁县|