HTTP Status Code Flashcards: Meanings, Classes & Use Cases
Learn registered HTTP response status codes by number, reason phrase, class, and practical use case, with current IANA and RFC references.
Về bộ thẻ này
Learn the current IANA-registered HTTP response status codes as a practical recall system, not a loose cheat sheet.
What this deck practices
- Code → meaning: all 61 response codes assigned in the IANA registry snapshot used on 25 August 2026, starting with the registered reason phrase and a concise RFC-based explanation.
- Meaning → code: 27 selective reverse cards for common, atomic retrieval targets. These are not mechanical reversals of every entry.
- Class purpose: exactly five cards for 1xx Informational, 2xx Successful, 3xx Redirection, 4xx Client Error, and 5xx Server Error.
- Confusion sets: 401 vs 403; 301/302/307/308; 409 vs 422; 404 vs 410; 202 vs 204; and 502 vs 504.
The order introduces the five classes and common responses first, broadens through the registered set, and finishes with comparison and reference material. Forward and reverse variants are separated so one card does not immediately reveal another.
Special registry status
Temporary 104 Upload Resumption Supported is clearly marked with IANA’s recorded expiry of 13 November 2026. HTTP 402 is taught as registered but reserved by RFC 9110 for future use. Unused 306 and 418, plus obsoleted 510, live in a separate reference section rather than the ordinary recall sequence. Unassigned codes and ranges are excluded because they have no registered reason phrase or stable meaning to recall. Deprecated 305 is labeled accurately.
Explanations follow the IANA HTTP Status Code Registry and its linked RFC references. Reason phrases are labels, not complete normative semantics. Examples and comparisons are original paraphrases and do not prescribe one universal REST API design.
This is an independent, unofficial educational deck by Flashcards Open Source App. It is not affiliated with, endorsed by, or produced by IANA, the IETF, or the RFC Editor. No competitor deck, RFC prose, copyrighted table, or exam question was copied. The CC0 label applies to the original prompts, explanations, organization, metadata, and generated cover to the extent applicable rights exist; it does not claim ownership of facts or standards text.
Thẻ trong bộ này
Thẻ 1
Câu hỏi
What is the purpose of the 1xx HTTP status-code class?
Câu trả lời
Informational. A 1xx response is interim: it communicates connection status or request progress before the final response.
Thẻ 2
Câu hỏi
What is the purpose of the 2xx HTTP status-code class?
Câu trả lời
Successful. A 2xx response means the request was successfully received, understood, and accepted.
Thẻ 3
Câu hỏi
What is the purpose of the 3xx HTTP status-code class?
Câu trả lời
Redirection. A 3xx response means the user agent needs to take further action to fulfill the request, such as following another URI or using a cached representation.
Thẻ 4
Câu hỏi
What is the purpose of the 4xx HTTP status-code class?
Câu trả lời
Client Error. A 4xx response means the client appears to have made an error; it does not prove that every fault lies in client code.
Thẻ 5
Câu hỏi
What is the purpose of the 5xx HTTP status-code class?
Câu trả lời
Server Error. A 5xx response means the server knows it has erred or cannot perform the requested method.
Thẻ 6
Câu hỏi
What does HTTP status code 200 mean?
Câu trả lời
OK. The request succeeded; the meaning of any response content depends on the request method.
Thẻ 7
Câu hỏi
What does HTTP status code 404 mean?
Câu trả lời
Not Found. The origin server has no current representation for the target resource, or it is unwilling to disclose that one exists. The code does not say whether the condition is temporary or permanent.
Thẻ 8
Câu hỏi
What does HTTP status code 301 mean?
Câu trả lời
Moved Permanently. The target resource has a new permanent URI. For historical reasons, a user agent may change POST to GET when following it; use 308 when method preservation matters.
Thẻ 9
Câu hỏi
What does HTTP status code 500 mean?
Câu trả lời
Internal Server Error. The server hit an unexpected condition that prevented it from fulfilling the request.
Thẻ 10
Câu hỏi
What does HTTP status code 201 mean?
Câu trả lời
Created. The request was fulfilled and created one or more resources. The primary resource is identified by
Location, or by the target URI whenLocationis absent.Thẻ 11
Câu hỏi
What does HTTP status code 401 mean?
Câu trả lời
Unauthorized. The request was not applied because it lacks valid authentication credentials for the target resource. The response includes a
WWW-Authenticatechallenge.Thẻ 12
Câu hỏi
What does HTTP status code 503 mean?
Câu trả lời
Service Unavailable. The server is temporarily unable to handle the request, often because of overload or maintenance. It may send
Retry-After.Thẻ 13
Câu hỏi
What does HTTP status code 204 mean?
Câu trả lời
No Content. The server successfully fulfilled the request and has no additional response content to send.
Thẻ 14
Câu hỏi
What does HTTP status code 403 mean?
Câu trả lời
Forbidden. The server understood the request but refuses to fulfill it. Credentials may be insufficient, or the refusal may be unrelated to authentication.
Thẻ 15
Câu hỏi
What does HTTP status code 302 mean?
Câu trả lời
Found. The target resource is temporarily available at another URI, so future requests should still use the original URI. A user agent may change POST to GET when following it.
Thẻ 16
Câu hỏi
What does HTTP status code 400 mean?
Câu trả lời
Bad Request. The server cannot or will not process the request because of a perceived client error, such as malformed syntax, invalid framing, or deceptive routing.
Thẻ 17
Câu hỏi
What does HTTP status code 502 mean?
Câu trả lời
Bad Gateway. A server acting as a gateway or proxy received an invalid response from an inbound server while trying to fulfill the request.
Thẻ 18
Câu hỏi
Which HTTP status code has the registered reason phrase “OK”?
Câu trả lời
200 OK. It indicates that the request succeeded.
Thẻ 19
Câu hỏi
What does HTTP status code 202 mean?
Câu trả lời
Accepted. The request was accepted for processing, but processing is incomplete and might not ultimately happen.
Thẻ 20
Câu hỏi
Which HTTP status code has the registered reason phrase “Not Found”?
Câu trả lời
404 Not Found. It means there is no current representation for the target resource, or the server will not disclose one.
Thẻ 21
Câu hỏi
What does HTTP status code 304 mean?
Câu trả lời
Not Modified. A conditional GET or HEAD would otherwise have returned 200, but the condition was false, so the client can use its stored representation. A 304 response has no content.
Thẻ 22
Câu hỏi
Which HTTP status code has the registered reason phrase “Created”?
Câu trả lời
201 Created. It means the fulfilled request created one or more resources.
Thẻ 23
Câu hỏi
Which HTTP status code means the request lacks valid authentication credentials?
Câu trả lời
401 Unauthorized. The response challenges the client to authenticate for the target resource.
Thẻ 24
Câu hỏi
Which HTTP status code has the registered reason phrase “Internal Server Error”?
Câu trả lời
500 Internal Server Error. It covers an unexpected server condition that prevented fulfillment.
Thẻ 25
Câu hỏi
Which HTTP status code means success with no additional response content?
Câu trả lời
204 No Content. The action succeeded, and there is no response content to send.
Thẻ 26
Câu hỏi
Which HTTP status code means the server understood the request but refuses to fulfill it?
Câu trả lời
403 Forbidden. Repeating the same request with the same credentials should not be automatic.
Thẻ 27
Câu hỏi
Which HTTP status code has the registered reason phrase “Moved Permanently”?
Câu trả lời
301 Moved Permanently. Future references should use the new permanent URI.
Thẻ 28
Câu hỏi
Which HTTP status code means the server is temporarily unable to handle the request?
Câu trả lời
503 Service Unavailable. Temporary overload or maintenance are typical reasons.
Thẻ 29
Câu hỏi
Which HTTP status code has the registered reason phrase “Bad Request”?
Câu trả lời
400 Bad Request. The server perceives a client-side problem that prevents or discourages processing.
Thẻ 30
Câu hỏi
Which HTTP status code means a gateway or proxy received an invalid inbound response?
Câu trả lời
502 Bad Gateway. The upstream response arrived, but it was invalid.
Thẻ 31
Câu hỏi
Which HTTP status code has the registered reason phrase “Accepted”?
Câu trả lời
202 Accepted. Processing has been accepted but is not complete.
Thẻ 32
Câu hỏi
Which HTTP status code tells a conditional GET or HEAD to use a stored representation?
Câu trả lời
304 Not Modified. The request condition evaluated false, so the stored representation remains valid for this response.
Thẻ 33
Câu hỏi
What does HTTP status code 100 mean?
Câu trả lời
Continue. The server received the initial part of the request and has not rejected it. With
Expect: 100-continue, the client should continue sending the request content.Thẻ 34
Câu hỏi
What does HTTP status code 206 mean?
Câu trả lời
Partial Content. The server is successfully fulfilling a range request by transferring one or more parts of the selected representation.
Thẻ 35
Câu hỏi
What does HTTP status code 307 mean?
Câu trả lời
Temporary Redirect. The resource is temporarily at another URI, and an automatic redirect must preserve the request method.
Thẻ 36
Câu hỏi
What does HTTP status code 409 mean?
Câu trả lời
Conflict. The request cannot be completed because it conflicts with the target resource’s current state. The client may be able to resolve the conflict and resubmit.
Thẻ 37
Câu hỏi
What does HTTP status code 504 mean?
Câu trả lời
Gateway Timeout. A gateway or proxy did not receive a timely response from an upstream server needed to complete the request.
Thẻ 38
Câu hỏi
What does HTTP status code 101 mean?
Câu trả lời
Switching Protocols. The server accepts the client’s
Upgraderequest and names the protocol that will be used after this response.Thẻ 39
Câu hỏi
Which HTTP status code means a range request succeeded with only part of the representation?
Câu trả lời
206 Partial Content. The response carries one or more requested ranges.
Thẻ 40
Câu hỏi
Which temporary redirect status code requires method preservation?
Câu trả lời
307 Temporary Redirect. An automatic redirect must not change the request method.
Thẻ 41
Câu hỏi
Which HTTP status code means a request conflicts with the target resource’s current state?
Câu trả lời
409 Conflict. The client may be able to resolve the state conflict and try again.
Thẻ 42
Câu hỏi
Which HTTP status code means a gateway timed out waiting for an upstream server?
Câu trả lời
504 Gateway Timeout. The upstream response did not arrive in time.
Thẻ 43
Câu hỏi
What does HTTP status code 102 mean?
Câu trả lời
Processing. This registered interim response says the server accepted the complete request but has not finished processing it; a final response still follows.
Thẻ 44
Câu hỏi
What does HTTP status code 203 mean?
Câu trả lời
Non-Authoritative Information. The request succeeded, but a transforming proxy modified the enclosed content from the origin server’s 200 response.
Thẻ 45
Câu hỏi
What does HTTP status code 308 mean?
Câu trả lời
Permanent Redirect. The resource has a new permanent URI, and an automatic redirect must preserve the request method.
Thẻ 46
Câu hỏi
What does HTTP status code 410 mean?
Câu trả lời
Gone. Access to the target resource is no longer available at the origin server, and the condition is likely permanent.
Thẻ 47
Câu hỏi
What does HTTP status code 501 mean?
Câu trả lời
Not Implemented. The server does not support functionality required to fulfill the request, such as an unrecognized method it cannot support for any resource.
Thẻ 48
Câu hỏi
What does HTTP status code 103 mean?
Câu trả lời
Early Hints. This interim response carries header fields the server is likely to include in the final response, letting the client make safe performance optimizations while it waits.
Thẻ 49
Câu hỏi
What does HTTP status code 205 mean?
Câu trả lời
Reset Content. The request succeeded, and the server wants the user agent to reset the document view that caused the request. The response has no content.
Thẻ 50
Câu hỏi
Which permanent redirect status code requires method preservation?
Câu trả lời
308 Permanent Redirect. Future requests should use the new URI without changing the method during automatic redirection.
Thẻ 51
Câu hỏi
Which HTTP status code says a resource is no longer available and is likely gone permanently?
Câu trả lời
410 Gone. Use 404 when the server does not know whether the absence is permanent.
102 thẻ
HTTP Status Code Flashcards: Meanings, Classes & Use Cases
Học bộ thẻ này miễn phíNibomo sẽ mở ra để bạn bắt đầu học.
Thẻ 52
Câu hỏi
Which HTTP status code means the required server functionality is unsupported?
Câu trả lời
501 Not Implemented. It applies when the server cannot support the functionality needed to fulfill the request.
Thẻ 53
Câu hỏi
What does HTTP status code 207 mean?
Câu trả lời
Multi-Status. The response reports status for multiple independent operations, as defined for WebDAV.
Thẻ 54
Câu hỏi
What does HTTP status code 300 mean?
Câu trả lời
Multiple Choices. The target has more than one representation, and the response provides alternatives so the user or user agent can choose.
Thẻ 55
Câu hỏi
What does HTTP status code 405 mean?
Câu trả lời
Method Not Allowed. The origin server knows the request method, but the target resource does not support it. The response includes an
Allowfield.Thẻ 56
Câu hỏi
What does HTTP status code 505 mean?
Câu trả lời
HTTP Version Not Supported. The server does not support, or refuses to support, the major HTTP version used in the request.
Thẻ 57
Câu hỏi
What does HTTP status code 208 mean?
Câu trả lời
Already Reported. Inside a WebDAV multistatus response, it avoids repeatedly enumerating descendants of another binding to the same collection.
Thẻ 58
Câu hỏi
What does HTTP status code 303 mean?
Câu trả lời
See Other. The
LocationURI identifies a different resource that can provide an indirect response; the user agent retrieves it with GET or HEAD.Thẻ 59
Câu hỏi
What does HTTP status code 406 mean?
Câu trả lời
Not Acceptable. The target has no current representation acceptable under the request’s proactive negotiation fields, and the server will not send a default.
Thẻ 60
Câu hỏi
What does HTTP status code 506 mean?
Câu trả lời
Variant Also Negotiates. The server has a transparent content-negotiation configuration error: the chosen variant is itself configured to negotiate.
Thẻ 61
Câu hỏi
What does HTTP status code 226 mean?
Câu trả lời
IM Used. The server fulfilled a GET by returning the result of one or more instance manipulations applied to the current representation, identified in the
IMresponse field.Thẻ 62
Câu hỏi
What does HTTP status code 305 mean?
Câu trả lời
Use Proxy — deprecated. It was defined to direct access through a proxy, but RFC 9110 marks the status code deprecated. New implementations should not rely on it.
Thẻ 63
Câu hỏi
What does HTTP status code 407 mean?
Câu trả lời
Proxy Authentication Required. The client must authenticate to a proxy for this request. The proxy sends a
Proxy-Authenticatechallenge.Thẻ 64
Câu hỏi
What does HTTP status code 507 mean?
Câu trả lời
Insufficient Storage. The server cannot store the representation needed to complete the method. WebDAV defines this as a temporary condition.
Thẻ 65
Câu hỏi
What does HTTP status code 408 mean?
Câu trả lời
Request Timeout. The server did not receive a complete request message within the time it was prepared to wait.
Thẻ 66
Câu hỏi
What does HTTP status code 508 mean?
Câu trả lời
Loop Detected. The server terminated a WebDAV operation after finding an infinite loop while processing a
Depth: infinityrequest.Thẻ 67
Câu hỏi
What does HTTP status code 412 mean?
Câu trả lời
Precondition Failed. One or more conditions in the request fields evaluated to false against the current resource state.
Thẻ 68
Câu hỏi
What does HTTP status code 511 mean?
Câu trả lời
Network Authentication Required. The client must authenticate to gain network access. It is intended for an intercepting proxy, such as a captive portal, not an origin server.
Thẻ 69
Câu hỏi
What does HTTP status code 413 mean?
Câu trả lời
Content Too Large. The server refuses to process the request because its content is larger than the server is willing or able to process.
Thẻ 70
Câu hỏi
What does HTTP status code 411 mean?
Câu trả lời
Length Required. The server refuses the request without a defined
Content-Length; the client can retry with a valid value.Thẻ 71
Câu hỏi
Which HTTP status code means a request precondition evaluated to false?
Câu trả lời
412 Precondition Failed. The method is not applied when the stated condition does not match the resource’s current state.
Thẻ 72
Câu hỏi
Which HTTP status code asks the client to authenticate for network access rather than to the origin server?
Câu trả lời
511 Network Authentication Required. It is designed for intercepting network proxies such as captive portals.
Thẻ 73
Câu hỏi
What does HTTP status code 414 mean?
Câu trả lời
URI Too Long. The server refuses the request because the target URI is longer than it is willing to interpret.
Thẻ 74
Câu hỏi
Which HTTP status code means the request content is too large to process?
Câu trả lời
413 Content Too Large. The refusal is about the size of the request content, not the URI or request headers.
Thẻ 75
Câu hỏi
What does HTTP status code 415 mean?
Câu trả lời
Unsupported Media Type. The origin server refuses the request because its content format is unsupported for this method on the target resource.
Thẻ 76
Câu hỏi
What does HTTP status code 416 mean?
Câu trả lời
Range Not Satisfiable. The requested ranges were rejected because none can be satisfied or because the request contains too many small or overlapping ranges.
Thẻ 77
Câu hỏi
What does HTTP status code 422 mean?
Câu trả lời
Unprocessable Content. The server understands the content type and the syntax is correct, but it cannot process the contained instructions.
Thẻ 78
Câu hỏi
What does HTTP status code 417 mean?
Câu trả lời
Expectation Failed. At least one inbound server could not meet the expectation stated in the request’s
Expectfield.Thẻ 79
Câu hỏi
Which HTTP status code means the request content format is unsupported for the target method?
Câu trả lời
415 Unsupported Media Type. The issue can come from
Content-Type,Content-Encoding, or inspecting the data itself.Thẻ 80
Câu hỏi
What does HTTP status code 421 mean?
Câu trả lời
Misdirected Request. The request reached a server that cannot or will not produce an authoritative response for that target URI on the received connection.
Thẻ 81
Câu hỏi
What does HTTP status code 423 mean?
Câu trả lời
Locked. In WebDAV, the source or destination resource for the method is locked.
Thẻ 82
Câu hỏi
Which HTTP status code means syntactically correct content cannot be processed?
Câu trả lời
422 Unprocessable Content. The content type is understood and the syntax is valid, but the contained instructions cannot be processed.
Thẻ 83
Câu hỏi
What does HTTP status code 424 mean?
Câu trả lời
Failed Dependency. The requested action depended on another action, and that other action failed.
Thẻ 84
Câu hỏi
What does HTTP status code 425 mean?
Câu trả lời
Too Early. The server is unwilling to risk processing a request that might be replayed, such as a request sent in TLS early data.
Thẻ 85
Câu hỏi
What does HTTP status code 429 mean?
Câu trả lời
Too Many Requests. The user sent too many requests in a given time. The response may include
Retry-After.Thẻ 86
Câu hỏi
What does HTTP status code 426 mean?
Câu trả lời
Upgrade Required. The server refuses the current protocol but might perform the request after the client upgrades. The response states the required protocol in
Upgrade.Thẻ 87
Câu hỏi
What does HTTP status code 428 mean?
Câu trả lời
Precondition Required. The origin server requires a conditional request, commonly to prevent a lost update when resource state changes between reading and writing.
Thẻ 88
Câu hỏi
What does HTTP status code 431 mean?
Câu trả lời
Request Header Fields Too Large. The server refuses to process the request because all request headers together, or one particular header, are too large.
Thẻ 89
Câu hỏi
Which HTTP status code is registered for rate limiting?
Câu trả lời
429 Too Many Requests. It indicates too many requests in a given amount of time.
Thẻ 90
Câu hỏi
What does HTTP status code 451 mean?
Câu trả lời
Unavailable For Legal Reasons. Access is denied because of a legal demand. The code does not establish whether the resource exists.
Thẻ 91
Câu hỏi
How do HTTP 401 and 403 differ?
Câu trả lời
401 Unauthorized means the request lacks valid authentication credentials and includes an authentication challenge. 403 Forbidden means the server understood the request but refuses it; credentials may be insufficient or irrelevant to the refusal.
Thẻ 92
Câu hỏi
How do HTTP 301, 302, 307, and 308 differ?
Câu trả lời
301 is permanent and may change POST to GET. 302 is temporary and may change POST to GET. 307 is temporary and preserves the method. 308 is permanent and preserves the method.
Thẻ 93
Câu hỏi
How do HTTP 409 and 422 differ?
Câu trả lời
409 Conflict is about a conflict with the target resource’s current state. 422 Unprocessable Content is about understood, syntactically correct request content whose instructions cannot be processed. Neither code dictates one universal REST API policy.
Thẻ 94
Câu hỏi
Which HTTP status code means access is denied because of a legal demand?
Câu trả lời
451 Unavailable For Legal Reasons. The response can explain the legal demand and who it affects.
Thẻ 95
Câu hỏi
How do HTTP 404 and 410 differ?
Câu trả lời
404 Not Found does not say whether the missing representation is temporary or permanent and can also hide a resource’s existence. 410 Gone says the resource is no longer available and the condition is likely permanent.
Thẻ 96
Câu hỏi
How do HTTP 202 and 204 differ?
Câu trả lời
202 Accepted means processing was accepted but is not complete and may never happen. 204 No Content means the request was successfully fulfilled and there is no additional response content.
Thẻ 97
Câu hỏi
How do HTTP 502 and 504 differ?
Câu trả lời
502 Bad Gateway means the gateway or proxy received an invalid upstream response. 504 Gateway Timeout means it did not receive the needed upstream response in time.
Thẻ 98
Câu hỏi
What does HTTP status code 104 mean, and what is its registry status?
Câu trả lời
Upload Resumption Supported — temporary. It is an informational response indicating resumable-upload support. IANA records registration on 13 November 2024, an extension on 15 September 2025, and expiry on 13 November 2026.
Thẻ 99
Câu hỏi
What does HTTP status code 402 mean?
Câu trả lời
Payment Required — reserved for future use. IANA registers the reason phrase, but RFC 9110 does not define a general operational meaning. Treat application-specific payment uses as conventions, not universal HTTP semantics.
Thẻ 100
Câu hỏi
What is the current registry status of HTTP 306?
Câu trả lời
Unused and reserved. RFC 9110 says 306 was defined previously, is no longer used, and remains reserved. It is not an ordinary redirect code.
Thẻ 101
Câu hỏi
What is the current registry status of HTTP 418?
Câu trả lời
Unused and reserved. IANA does not register “I’m a Teapot” as the current reason phrase. RFC 9110 keeps 418 unavailable for other assignments because the joke code was widely deployed.
Thẻ 102
Câu hỏi
What is the current registry status of HTTP 510?
Câu trả lời
Not Extended — obsoleted. The historical code said an extension policy was not met, but IANA marks it obsoleted after the HTTP extension experiments moved to Historic status.
102 thẻ
HTTP Status Code Flashcards: Meanings, Classes & Use Cases
Nibomo sẽ mở ra để bạn bắt đầu học.