HTTP Response Codes Flashcards
How many classes of HTTP response codes are there?
Five
What defines the HTTP response code?
The first digit of the code.
What are the 5 HTTP response codes by class only?
1xx (100s) - informational response 2xx (200s) - successful 3xx (300s) - redirection 4xx (400s) - client error 5xx (500s) - server error
What is a 100 code?
Continue.
The server has received the request headers and the client should proceed to send the request body.
What is a 101 code?
Switching protocols.
The client has asked the server to switch protocols, and the server agrees.
What is a 102 code?
Processing.
The server has received and is processing the request, but no response is available. This prevents the client from timing out.
What is a 103 http code?
Early hints.
Server tells the client that the server is likely to send a final response with the header fields included in the informational response.
What is a 200 http code?
Success.
Response from server is OK.
Standard response for successful http request.
What is a 201 http code?
Created.
The request has been fulfilled, resulting in the creation of a new resource.
What is a 202 http response code?
Accepted.
The request has been accepted for processing, but has not been completed. The request may or may not be acted on.
What is a 203 http code?
Non-authoritative information.
The server is a proxy that received the 200 OK, and returns a modified version of the original response.
What is a 204 http code?
No content.
The request was processed, but the server is not returning any content.
What is a 205 http code?
Reset content.
Request from the server to the client to reset the document from which the original request was sent.
An example is a form filled out by the client and the server is asking the browser to clear the form.
What is a 206 http code?
Partial content.
The server is transferring only part of the resource requested by the client due to a range header sent by the client.
The range header is used to enable resuming of interrupted downloads or split a download into multiple simultaneous streams.
What is a http 207 code?
Multi- status.
Conveys information about multiple resources in situations where multiple codes might be appropriate. Default message is a text/XML response.
What is a http 208 code?
Already reported.
Used inside a DAV: allows a client to tell the server that the same resource (with the same binding) was mentioned earlier.
DAV OR WEBDAV: WebDAV protocol provides a framework for users to create, change and move documents on aserver.
What is a http 226 code?
IM used.
The extension allows a HTTP server to send diffs (changes) of resources to clients. Clients request this because part of resource is already cached.
What is a http 300 code?
Multiple choices.
The request has more than one possible responses. The client must choose them.
What is a http 301 code?
Moved permanently.
This and all future requests should be directed to the givenURI.
What is a http 302 code?
Found
A common way of performing URL redirection.
What is a http 303 code?
See other
Status response code informing you that the URL you’re trying to access is redirecting you to another URL.
What is a http 304 code?
Not modified
Client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource.
What is a http 305 code?
Use proxy
The requested resource is available only through a proxy, the address for which is provided in the response. For security reasons, many HTTP clients (such asMozilla FirefoxandInternet Explorer) do not obey this status code.
What is a http 306 code?
Switch proxy
No longer used. Originally meant “Subsequent requests should use the specified proxy.”
What is a http 307 code?
Temporary redirect
Redirect status response code indicates that the resource requested has been temporarily moved to the URL given by theLocationheaders.
What is a 308 code?
Permanent redirect
Redirect status response code indicates that the resource requested has been definitively moved to the URL given by theLocationheaders.