HTTP 狀態碼

搜尋與查詢 HTTP 狀態碼。可按狀態碼、片語、描述或分類篩選。

100
1xx

Continue

The server has received the request headers and the client should proceed to send the request body.

101
1xx

Switching Protocols

The requester has asked the server to switch protocols and the server has agreed to do so.

102
1xx

Processing

A WebDAV request may contain many sub-requests involving file operations, requiring a long time to complete the request.

103
1xx

Early Hints

Used to return some response headers before final HTTP message.

200
2xx

OK

Standard response for successful HTTP requests.

201
2xx

Created

The request has been fulfilled, resulting in the creation of a new resource.

202
2xx

Accepted

The request has been accepted for processing, but the processing has not been completed.

203
2xx

Non-Authoritative Information

The server is a transforming proxy (e.g. a Web accelerator) that received a 200 OK from its origin, but is returning a modified version of the origin's response.

204
2xx

No Content

The server successfully processed the request and is not returning any content.

205
2xx

Reset Content

The server successfully processed the request, but is not returning any content. Unlike a 204 response, this response requires that the requester reset the document view.

206
2xx

Partial Content

The server is delivering only part of the resource (byte serving) due to a range header sent by the client.

300
3xx

Multiple Choices

Indicates multiple options for the resource from which the client may choose.

301
3xx

Moved Permanently

This and all future requests should be directed to the given URI.

302
3xx

Found

Tells the client to look at (browse to) another URL. The HTTP/1.0 specification (RFC 1945) required the client to perform a temporary redirect.

303
3xx

See Other

The response to the request can be found under another URI using the GET method.

304
3xx

Not Modified

Indicates that the resource has not been modified since the version specified by the request headers If-Modified-Since or If-None-Match.

307
3xx

Temporary Redirect

In this case, the request should be repeated with another URI; however, future requests should still use the original URI.

308
3xx

Permanent Redirect

The request and all future requests should be repeated using another URI.

400
4xx

Bad Request

The server cannot or will not process the request due to an apparent client error.

401
4xx

Unauthorized

Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.

402
4xx

Payment Required

Reserved for future use. The original intention was that this code might be used as part of some form of digital cash or micropayment scheme.

403
4xx

Forbidden

The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.

404
4xx

Not Found

The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.

405
4xx

Method Not Allowed

A request method is not supported for the requested resource.

406
4xx

Not Acceptable

The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.

407
4xx

Proxy Authentication Required

The client must first authenticate itself with the proxy.

408
4xx

Request Timeout

The server timed out waiting for the request.

409
4xx

Conflict

Indicates that the request could not be processed because of conflict in the current state of the resource.

410
4xx

Gone

Indicates that the resource requested is no longer available and will not be available again.

413
4xx

Payload Too Large

The request is larger than the server is willing or able to process.

414
4xx

URI Too Long

The URI provided was too long for the server to process.

415
4xx

Unsupported Media Type

The request entity has a media type which the server or resource does not support.

418
4xx

I'm a teapot

The server refuses the attempt to brew coffee with a teapot.

422
4xx

Unprocessable Entity

The request was well-formed but was unable to be followed due to semantic errors.

429
4xx

Too Many Requests

The user has sent too many requests in a given amount of time.

500
5xx

Internal Server Error

A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.

501
5xx

Not Implemented

The server either does not recognize the request method, or it lacks the ability to fulfill the request.

502
5xx

Bad Gateway

The server was acting as a gateway or proxy and received an invalid response from the upstream server.

503
5xx

Service Unavailable

The server is currently unavailable (because it is overloaded or down for maintenance).

504
5xx

Gateway Timeout

The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.

505
5xx

HTTP Version Not Supported

The server does not support the HTTP protocol version used in the request.

Related Tools

Tools you might also need

100% 保障隱私 • 零伺服器檔案上傳

為什麼使用 Utiliome 免費的 100% 免費 HTTP 狀態碼查詢與檢測工具(免註冊)?

專為嚴格隱私保護、即時執行與零門檻體驗而建置。無需訂閱、無付費牆、無需註冊帳號。

100% 永久免費

絕無付費牆。我們的 HTTP 狀態碼查詢工具完全免費,沒有任何使用限制或隱藏費用。

零伺服器上傳,保護隱私

您的查詢完全留在瀏覽器本地。我們不會存儲或追蹤您的 API 請求,確保絕對的隱私安全。

支援離線的極速響應

由於工具完全在用戶端運行,您可以獲得即時響應,無需等待外部伺服器處理。

全面的狀態碼資料庫

從常見的 200 OK 到冷門的 418 I'm a Teapot,涵蓋每一個標準 HTTP 響應代碼的詳細解釋。

Utiliome 與傳統雲端工具對比

對比我們本機優先的 WebAssembly 引擎與傳統雲端轉換工具。

特性 Utiliome (本機瀏覽器) 傳統雲端轉換器
費用與付費牆 100% 免費,無限次查詢 每日查詢受限或強制購買高級版
隱私與資料存儲 零伺服器上傳;完全瀏覽器本地運行 查詢記錄會被保存至遠端伺服器用於分析
帳號要求 無需註冊,無需填寫電子郵件 使用幾次後強制要求註冊電子郵件
執行速度 極速(用戶端本地執行) 較慢(需要與伺服器進行網路往返)

只需 3 步輕鬆使用 100% 免費 HTTP 狀態碼查詢與檢測工具(免註冊)

無需安裝任何軟體。一切均在您的網頁瀏覽器中直接執行。

1

搜尋您的狀態碼

只需在搜尋欄中輸入 3 位數的 HTTP 狀態碼(例如 200、404、500),無需離開當前頁面。

2

檢視官方定義

立即獲取該狀態碼的官方描述、應用場景及其具體含義。

3

高效應用實踐

參考提供的最佳實踐,在您的 Web 應用程式或 RESTful API 中正確處理該狀態碼。

理解 HTTP 狀態碼的終極指南

快速解答: HTTP 狀態碼是 Web 伺服器對瀏覽器請求做出的三位數數值響應。它們指示特定的 HTTP 請求是否已成功完成,為除錯和 API 開發提供關鍵資訊。

每當您與網際網路互動時——無論是瀏覽網頁、從 REST API 獲取資料還是提交表單——幕後都在進行著複雜的對話。這種對話的通用語言是超文字傳輸協定(HTTP),而其主要通訊方式就是通過 HTTP 狀態碼。這些三位數字充當了伺服器對用戶端請求響應的總結,讓您瞬間了解請求是完美成功、用戶端存在問題,還是伺服器自身遇到了嚴重故障。

從歷史上看,HTTP 狀態碼是在網際網路早期建立的,旨在標準化不同系統之間的通訊。沒有這些代碼,軟體開發者和網路工程師就無法以一致的方式診斷連線問題或根據不同結果處理應用程式邏輯。如今在建置 Web 應用程式時,使用正確的 HTTP 狀態碼不僅是一種最佳實踐,更是建置穩健、易維護且使用者友善的軟體的絕對要求。

例如,如果使用者嘗試存取不存在的頁面,返回標準的 404 Not Found 代碼可以明確告知瀏覽器(以及搜尋引擎爬蟲)該資源已消失。如果 API 端點需要身份驗證而用戶端發送了不帶權標的請求,返回 401 Unauthorized 代碼可以清晰地傳達需要登入的資訊。正是這些規範使現代 Web 成為可能,讓採用不同程式語言建置的異質系統能夠無縫協作。

我們 100% 免費的線上 HTTP 狀態碼檢測工具旨在讓您即時獲取這些定義。您不需要註冊帳號,我們承諾零伺服器上傳。該工具直接在您的瀏覽器中運行,確保您的查詢記錄完全私密。與那些可能追蹤您的查詢或將關鍵開發資訊隱藏在煩人付費牆身後的傳統競爭對手不同,我們致力於提供完全無阻礙的體驗。我們在不要求您註冊的情況下提供每個狀態碼的詳細背景,確保您的工作流程順暢無阻。

HTTP 狀態碼分類:從 1xx 到 5xx

快速解答: 狀態碼根據首位數字分為五大類:1xx(資訊性)、2xx(成功)、3xx(重定向)、4xx(用戶端錯誤)和 5xx(伺服器錯誤)。這種分類有助於開發者迅速了解伺服器響應的大致性質。

理解 HTTP 狀態碼的高層分類是快速掌握 Web 請求結果的最快途徑。網際網路號碼分配局(IANA)維護著官方註冊表,將所有代碼根據開頭的數字劃分為五個大類。

1xx 資訊性響應 (100–199) 這些代碼表明伺服器已收到請求並正在繼續處理。它們在日常網頁瀏覽中相對少見,但對特定協定至關重要。例如,100 Continue 代碼告知用戶端請求的前半部分已被接收,應繼續發送其餘部分。建立 WebSocket 連線時經常可以看到 101 Switching Protocols 代碼,表明伺服器同意更改通訊協定。

2xx 成功響應 (200–299) 最理想的響應類型!2xx 代碼意味著用戶端的請求已被成功接收、理解和接受。無處不在的 200 OK 是成功 HTTP 請求的標準響應。在 REST API 中,您會經常遇到 201 Created(通過 POST 請求成功建立新資源時)和 204 No Content(請求成功但沒有資料返回時,常用於 DELETE 操作)。

3xx 重定向訊息 (300–399) 這些代碼指示用戶端需要採取進一步的操作才能完成請求,通常涉及跳轉到不同的 URL。當頁面永久更改位置時,301 Moved Permanently 對 SEO 至關重要。302 Found 或 307 Temporary Redirect 表示資源臨時位於其他位置。304 Not Modified 對效能優化非常有用,它指示瀏覽器使用其快取版本的資源,而無需重新下載。

4xx 用戶端錯誤響應 (400–499) 當問題出在用戶端請求時,會返回 4xx 代碼。這通常意味著請求包含錯誤語法或無法被滿足。400 Bad Request 是通用的用戶端錯誤。401 Unauthorized 和 403 Forbidden 分別處理身份驗證和授權失敗。著名的 404 Not Found 意味著請求的 URL 在伺服器上不存在。現代 API 還廣泛使用 429 Too Many Requests 來實施速率限制。

5xx 伺服器錯誤響應 (500–599) 如果發送了有效請求,但伺服器因內部問題未能履行,則會生成 5xx 代碼。500 Internal Server Error 是未預料到的伺服器故障的通用兜底代碼。502 Bad Gateway 指示上游伺服器存在問題,而 503 Service Unavailable 意味著伺服器超載或正在維護。當充當閘道的伺服器無法從上游伺服器及時獲取響應時,就會發生 504 Gateway Timeout。

每個開發者都應掌握的常用 HTTP 狀態碼

快速解答: 雖然有數十種標準代碼,但大多數開發者主要使用核心的幾類:200 (OK)、201 (Created)、204 (No Content)、400 (Bad Request)、401 (Unauthorized)、403 (Forbidden)、404 (Not Found) 以及 500 (Internal Server Error)。

掌握 HTTP 狀態碼的核心子集對於任何現代軟體開發者都至關重要,尤其是在建置和呼叫 RESTful API 時。讓我們深入探討這些關鍵代碼的細微差別以及它們如何塑造穩健的應用設計。

2xx 成功系列 雖然 200 OK 是通用成功的標準,但精細的 API 設計要求使用更具體的代碼。當用戶端提交 POST 請求以建立使用者時,返回 201 Created 比 200 OK 能提供豐富得多的資訊。它明確確認了建立事件,並通常包含指向新資源的 'Location' 響應標頭。類似地,當用戶端發送 DELETE 請求且操作成功時,返回 204 No Content 是理想的選擇,因為響應主體中已經沒有需要返回的實質性資料了。

區分 4xx 錯誤:身份驗證 vs. 授權 一個常見的混淆來源是 401 Unauthorized 和 403 Forbidden 之間的區別。401 Unauthorized 本質上意味著「未身份驗證」。用戶端必須提供有效的身份憑證(如 Bearer 權標)才能繼續。相比之下,403 Forbidden 意味著用戶端的身份已知,但缺乏存取特定資源的必要權限。例如,一般使用者嘗試存取管理員控制台時應當收到 403 Forbidden。

404 與 410 的細微差別 大家都知道 404 Not Found,但如果是故意刪除資源且永不恢復呢?在這種情況下,410 Gone 要合適得多。410 明確告知搜尋引擎爬蟲和用戶端該缺失是永久性的,允許它們放心從快取和索引中清除該連結。而 404 是模稜兩可的——它僅意味著*此時此刻*找不到。

通過正確使用這些代碼,開發者可以建置出極易除錯和整合的自文檔化 API。我們 100% 免費且保護隱私的工具讓您能夠隨時隨地快速查閱這些細節。因為我們的平台完全在瀏覽器中運行,您可以即時獲取答案且無需向伺服器上傳任何資料,讓您的開發流程保持順暢與安全。

為什麼隱私和瀏覽器本地工具對開發者至關重要

快速解答: 開發者工具應當尊重您的工作流程,將資料嚴格保留在您的本機上。使用 100% 免費、零伺服器上傳的工具,可確保您的查詢、API 端點和開發模式完全私密。

在當今的開發環境中,我們使用的工具往往要求我犧牲隱私來換取便利。許多線上實用工具、格式化工具和查詢工具的運作方式是將您的資料發送到遠端伺服器進行處理。這意味著您的搜尋查詢、程式碼片段或 API 端點結構有可能被記錄、分析甚至出售。這就是為什麼以「零伺服器上傳」理念建置工具對現代軟體工程至關重要的原因。

當您使用我們的 HTTP 狀態碼檢測工具時,一切都在您的本機本地運行。應用程式被傳送到您的瀏覽器,所有邏輯都在用戶端執行。這種瀏覽器本地執行模式帶來了幾個巨大的好處。首要的就是隱私。因為我們不在後端伺服器上處理您的查詢,所以我們在物理層面就無法追蹤您正在查詢的內容。無論您是在除錯敏感的內部應用程式,還是僅僅在探索 API 標準,您的活動都保持絕對私密。

其次,這種架構保證了極快的效能。通過消除與傳統伺服器端應用相關的網路往返,我們的工具能夠做出即時響應。沒有延遲,無需等待伺服器喚醒,也不會觸及 API 速率限制。這種即時回饋迴路正是開發者在深耕複雜網路問題除錯時所迫切需要的。

最後,我們相信基礎開發者工具應當 100% 免費且完全無門檻。您絕不應該僅僅為了查詢 409 Conflict 的定義而被強制註冊帳號、驗證電子郵件或拿出信用卡。我們的工具絕對不需要註冊。您可以無限制地存取完整的狀態碼資料庫,沒有任何傳統競爭對手使用的陰暗套路。我們致力於提供網路上最好、最私密且完全免費的開發者工具。

100% 免費 HTTP 狀態碼查詢與檢測工具(免註冊) 常見問題解答與技術指南

了解使用 Utiliome 免費線上 免費 http 狀態碼查詢 的一切須知。

這個 HTTP 狀態碼查詢工具是完全免費的嗎?

是的,我們的工具永久 100% 免費。沒有付費牆、隱藏費用或搜尋次數限制。您可以根據需要查詢任意多次狀態碼。

我需要註冊才能使用檢測工具嗎?

完全不需要。您可以立即使用該工具,無需註冊、無需建立帳號,也無需強制填寫電子郵件。我們堅持為開發者提供無門檻的工具。

我的資料和查詢歷史是私密的嗎?

是的。該工具完全在瀏覽器本地運行。我們保證零伺服器上傳,這意味著您的查詢永遠不會發送到我們的後端伺服器,也不會被追蹤或存儲。

是否包含所有標準的 HTTP 狀態碼?

是的,我們全面的資料庫包含了所有官方 IANA 註冊表中的狀態碼(涵蓋標準的 1xx 至 5xx 系列),以及 Cloudflare 和 NGINX 等流行平台使用的常用非官方代碼。

與付費替代方案相比,這個工具表現如何?

與可能限制查詢、記錄資料或要求繁瑣帳號的傳統競爭對手不同,Utilio 提供無限制、完全私密且 100% 免費的體驗,並具備即時用戶端響應。