Continue
RFC 9110The server received the request headers and the client should proceed to send the request body.
Switching Protocols
RFC 9110The server is switching protocols as requested by the client in the Upgrade header, for example to WebSocket.
Processing
RFC 2518The server has received and is processing the request, but no response is available yet. Used by WebDAV.
Early Hints
RFC 8297Returns some response headers before the final response so the client can start preloading resources.
OK
RFC 9110The request succeeded. The meaning of success depends on the HTTP method used.
Created
RFC 9110The request succeeded and a new resource was created, usually in response to POST or PUT.
Accepted
RFC 9110The request was accepted for processing, but the processing has not completed and may still fail.
Non-Authoritative Information
RFC 9110The returned metadata is from a local or third-party copy rather than the origin server.
No Content
RFC 9110The request succeeded but there is no content to send in the response body.
Reset Content
RFC 9110The request succeeded and the client should reset the document view that sent the request.
Partial Content
RFC 9110The server is delivering only part of the resource in response to a Range header, used for resumable downloads.
Multi-Status
RFC 4918Conveys information about multiple resources where several status codes apply. Used by WebDAV.
Already Reported
RFC 5842The members of a WebDAV binding have already been enumerated and are not being included again.
IM Used
RFC 3229The server fulfilled a GET request and the response represents the result of instance manipulations applied.
Multiple Choices
RFC 9110The request has more than one possible response and the client should choose one of them.
Moved Permanently
RFC 9110The resource has permanently moved to a new URL given in the Location header. Search engines update their links.
Found
RFC 9110The resource is temporarily at a different URL. The client should keep using the original URL for future requests.
See Other
RFC 9110The response is at another URL that should be retrieved with a GET request. Common after a form POST.
Not Modified
RFC 9110The cached copy is still valid, so the server sends no body. Used with conditional requests to save bandwidth.
Temporary Redirect
RFC 9110The resource is temporarily at another URL and the client must reuse the same HTTP method and body.
Permanent Redirect
RFC 9110The resource has permanently moved and the client must reuse the same HTTP method and body.
Bad Request
RFC 9110The server cannot process the request because of a client error such as malformed syntax or invalid framing.
Unauthorized
RFC 9110Authentication is required and has failed or not been provided. The response includes a WWW-Authenticate header.
Payment Required
RFC 9110Reserved for future use. Occasionally used by APIs to signal that a paid plan or quota is required.
Forbidden
RFC 9110The server understood the request but refuses to authorize it. Authenticating will not help.
Not Found
RFC 9110The server cannot find the requested resource. The URL may be wrong or the resource may have been removed.
Method Not Allowed
RFC 9110The request method is known but not supported by the target resource, for example POST to a read-only endpoint.
Not Acceptable
RFC 9110The resource cannot produce a response matching the Accept headers sent by the client.
Proxy Authentication Required
RFC 9110The client must first authenticate with a proxy before the request can proceed.
Request Timeout
RFC 9110The server timed out waiting for the request. The client may repeat the request later.
Conflict
RFC 9110The request conflicts with the current state of the resource, such as an edit that clashes with another change.
Gone
RFC 9110The resource is permanently gone with no forwarding address. More specific and final than 404.
Length Required
RFC 9110The server refuses the request because it lacks a defined Content-Length header.
Precondition Failed
RFC 9110A precondition in the request headers, such as If-Match, evaluated to false on the server.
Content Too Large
RFC 9110The request body is larger than the server is willing or able to process. Formerly Payload Too Large.
URI Too Long
RFC 9110The requested URI is longer than the server is willing to interpret, often from too many query parameters.
Unsupported Media Type
RFC 9110The request body is in a format the resource does not support, such as an unexpected Content-Type.
Range Not Satisfiable
RFC 9110The Range header requests a portion the server cannot supply, for example beyond the end of the file.
Expectation Failed
RFC 9110The expectation in the Expect request header could not be met by the server.
I'm a Teapot
RFC 2324An April Fools joke code from 1998 that returns when a teapot is asked to brew coffee. Sometimes used as an easter egg.
Misdirected Request
RFC 9110The request was sent to a server that cannot produce a response for the combination of scheme and authority.
Unprocessable Content
RFC 9110The request is well formed but has semantic errors that prevent processing, common in API validation failures.
Locked
RFC 4918The resource being accessed is locked. Used by WebDAV.
Failed Dependency
RFC 4918The request failed because it depended on another request that failed. Used by WebDAV.
Too Early
RFC 8470The server is unwilling to risk processing a request that might be replayed.
Upgrade Required
RFC 9110The client should switch to a different protocol given in the Upgrade header, such as a newer TLS version.
Precondition Required
RFC 6585The origin server requires the request to be conditional to prevent lost-update conflicts.
Too Many Requests
RFC 6585The client has sent too many requests in a given time. Rate limiting responses often include a Retry-After header.
Request Header Fields Too Large
RFC 6585The server refuses the request because the header fields are too large, individually or in total.
Unavailable For Legal Reasons
RFC 7725The resource is unavailable because of a legal demand, such as a government censorship order.
Internal Server Error
RFC 9110A generic error meaning the server hit an unexpected condition and cannot give a more specific message.
Not Implemented
RFC 9110The server does not support the functionality required to fulfil the request, such as an unknown method.
Bad Gateway
RFC 9110A server acting as a gateway or proxy received an invalid response from an upstream server.
Service Unavailable
RFC 9110The server is temporarily unable to handle the request, usually from overload or maintenance. Retry later.
Gateway Timeout
RFC 9110A gateway or proxy did not get a timely response from the upstream server it needed to complete the request.
HTTP Version Not Supported
RFC 9110The server does not support the HTTP protocol version used in the request.
Variant Also Negotiates
RFC 2295A content negotiation configuration error caused the chosen variant to itself engage in negotiation.
Insufficient Storage
RFC 4918The server cannot store the representation needed to complete the request. Used by WebDAV.
Loop Detected
RFC 5842The server detected an infinite loop while processing the request. Used by WebDAV.
Not Extended
RFC 2774Further extensions to the request are required for the server to fulfil it.
Network Authentication Required
RFC 6585The client must authenticate to gain network access, typically shown by a captive portal on public Wi-Fi.
מהם קודי סטטוס HTTP?
קודי סטטוס HTTP הם מספרים תלת ספרתיים ששרת מחזיר עם כל תגובה כדי לספר ללקוח מה קרה לבקשתו קוד של 200 פירושו שהבקשה הצליחה, 404 פירושו שהדף לא נמצא, ו-500 פירושו שהשרת פגע בשגיאה הפניה זו מפרטת כל קוד סטטוס סטנדרטי שהוגדר על ידי כוח המשימה להנדסת אינטרנט, מקובץ לפי מחלקה, עם הסבר באנגלית פשוטה של המשמעות של כל אחד וקישור למפרט המגדיר אותו ניתן לחפש לפי מספר, לפי שם או לפי מילה מהתיאור.
קודי סטטוס מתחלקים לחמש מחלקות המזוהות על ידי הספרה הראשונה שלהם המחלקה 1xx היא אינפורמטיבית ומאותתת שהבקשה התקבלה והעיבוד נמשך המחלקה 2xx פירושה הצלחה, אז הבקשה התקבלה, הובנה והתקבלה המחלקה 3xx היא ניתוב מחדש, מספרת ללקוח שהמשאב גר במקום אחר או לא השתנה המחלקה 4xx היא שגיאת לקוח, כלומר הבקשה הייתה שגויה או לא הותרה המחלקה 5xx היא שגיאת שרת, כאשר הבקשה הייתה חוקית אך השרת לא הצליח למלא אותה ידיעת המחלקה לבדה אומרת לך אם לתקן את בקשתך או להסתכל על השרת.
מפתחים מגיעים להתייחסות לקוד סטטוס ללא הרף מהנדסי קצה מחזירים באגים מדוע שיחת API מחזירה 401 במקום 200, מפתחי קצה אחורי מחליטים אם לשלוח 400 או 422 עבור כשל אימות, ומומחי SEO בודקים שדף שהועבר מחזיר 301 ולא 302 אז מנועי החיפוש מעבירים את הדירוג שלו הכלי הזה פועל כולו בדפדפן שלך, כך שהחיפושים הם מיידיים ושום דבר לא נשלח לשרת זה עובד במצב לא מקוון לאחר הטעינה והוא בחינם ללא צורך בחשבון, מה שהופך אותו ללשונית מהירה כדי לשמור על פתוח בזמן בנייה או איתור באגים של כל שירות אינטרנט.
כיצד להשתמש בהפניה לקודי סטטוס HTTP?
חפש לפי קוד או שם
הקלד מספר כמו 404, ביטוי כמו "לא נמצא", או מילת מפתח כמו "הפנייה מחדש" לתוך תיבת החיפוש כדי לסנן את הרשימה באופן מיידי.
סנן לפי כיתה
צמצם את הרשימה לקטגוריה אחת (1xx, 2xx, 3xx, 4xx, או 5xx) כדי לעיין רק בקודי מידע, הצלחה, הפניה מחדש, שגיאת לקוח או שגיאת שרת.
תקרא את המשמעות
כל שורה מציגה את ביטוי הסיבה, תיאור ברור של מתי נעשה שימוש בקוד, וה-RFC שמגדיר אותו.
העתק את הקוד או הביטוי
העתק קוד סטטוס וביטוי הסיבה שלו בלחיצה אחת כדי להדביק בתיעוד, בדיקות או תגובות API.
תכונות מפתח
רישום IANA מלא
מכסה כל קוד סטנדרטי מ-100 עד 511, כולל WebDAV וקודים מגבילי קצב, מקובצים לפי המחלקה שלהם.
חיפוש מיידי
התאם לפי מספר, ביטוי סיבה או תיאור, כך ש-404, "לא נמצא" ו"דף חסר" כולם מוצאים את הערך הנכון.
מסנני כיתה
קפוץ ישר לקודים 1xx, 2xx, 3xx, 4xx, או 5xx כדי להתמקד בהפניות מחדש, שגיאות לקוח או שגיאות שרת.
ציטוטים ספציפיים
כל קוד שם ל-RFC שמגדיר אותו, כך שתוכל לאשר התנהגות מול המקור הראשי.
Frequently Asked Questions
Related Tools
Basic Auth Generator
Turn a username and password into an HTTP Basic Authentication header, base64 token, curl commands and URL form, and decode existing Basic auth tokens back.
IP Subnet Calculator
Calculate the network address, broadcast, usable host range, subnet mask, and host count for any IPv4 address and CIDR prefix.
User Agent Parser
Paste a User-Agent string and read the browser, rendering engine, operating system, device type and CPU it describes, all in your browser.
JSON Validator
Validate JSON against RFC 8259 and get the exact line, column, and character of the first syntax error, plus duplicate-key detection and structure stats. Client-side, no signup.
Comments
0 comments
No comments yet. Be the first to share your thoughts!