Docsity

HTTP Status Code || A+ Guaranteed., Exams of Cybercrime, Cybersecurity and Data Privacy

Toggle sidebar
bg1
HTTP Status Code || A+ Guaranteed.
1xx Informational correct answers Request received, continuing process.
This class of status code indicates a provisional response, consisting only of the Status-Line and
optional headers, and is terminated by an empty line. Since HTTP/1.0 did not define any 1xx
status codes, servers must not send a 1xx response to an HTTP/1.0 client except under
experimental conditions.
100 Continue correct answers This means that the server has received the request headers, and
that the client should proceed to send the request body.
101 Switching Protocols correct answers This means the requester has asked the server to switch
protocols and the server is acknowledging that it will do so.
2xx Success correct answers This class of status codes indicates the action requested by the client
was received, understood, accepted and processed successfully.
200 OK correct answers Standard response for successful HTTP requests. The actual response
will depend on the request method used. In a GET request, the response will contain an entity
corresponding to the requested resource. In a POST request the response will contain an entity
describing or containing the result of the action.
201 Created correct answers The request has been fulfilled and resulted in a new resource being
created.
202 Accepted correct answers The request has been accepted for processing, but the processing
has not been completed. The request might or might not eventually be acted upon, as it might be
disallowed when processing actually takes place
pf3
pf4
pf5

Partial preview of the text

Download HTTP Status Code || A+ Guaranteed. and more Exams Cybercrime, Cybersecurity and Data Privacy in PDF only on Docsity!

HTTP Status Code || A+ Guaranteed.

1xx Informational correct answers Request received, continuing process. This class of status code indicates a provisional response, consisting only of the Status-Line and optional headers, and is terminated by an empty line. Since HTTP/1.0 did not define any 1xx status codes, servers must not send a 1xx response to an HTTP/1.0 client except under experimental conditions. 100 Continue correct answers This means that the server has received the request headers, and that the client should proceed to send the request body. 101 Switching Protocols correct answers This means the requester has asked the server to switch protocols and the server is acknowledging that it will do so. 2xx Success correct answers This class of status codes indicates the action requested by the client was received, understood, accepted and processed successfully. 200 OK correct answers Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action. 201 Created correct answers The request has been fulfilled and resulted in a new resource being created. 202 Accepted correct answers The request has been accepted for processing, but the processing has not been completed. The request might or might not eventually be acted upon, as it might be disallowed when processing actually takes place

203 Non-Authoritative Information (since HTTP/1.1) correct answers The server successfully processed the request, but is returning information that may be from another source. 204 No Content correct answers The server successfully processed the request, but is not returning any content. 205 Reset Content correct answers 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 Partial Content correct answers The server is delivering only part of the resource due to a range header sent by the client. The range header is used by tools like wget to enable resuming of interrupted downloads, or split a download into multiple simultaneous streams. 3xx Redirection correct answers The client must take additional action to complete the request. This class of status code indicates that further action needs to be taken by the user agent in order to fulfill the request. The action required may be carried out by the user agent without interaction with the user if and only if the method used in the second request is GET or HEAD. A user agent should not automatically redirect a request more than five times, since such redirection usually indicate an infinite loop. 300 Multiple Choices correct answers Indicates multiple options for the resource that the client may follow. It, for instance, could be used to present different format options for video, list files with different extensions, or word sense disambiguation. 301 Moved Permanently correct answers This and all future requests should be directed to the given URI. 302 Found correct answers This is an example of industry practice contradicting the standard. The HTTP/1.0 specification (RFC 1945) required the client to perform a temporary redirect (the

permanent condition. These status codes are applicable to any request method. User agents should display any included entity to the user. 400 Bad Request correct answers The request cannot be fulfilled due to bad syntax. 401 Unauthorized correct answers Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource. See Basic access authentication and Digest access authentication. 402 Payment Required correct answers 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, but that has not happened, and this code is not usually used. As an example of its use, however, Apple's MobileMe service generates a 402 error if the MobileMe account is delinquent.[citation needed]. 403 Forbidden correct answers The request was a valid request, but the server is refusing to respond to it. Unlike a 401 Unauthorized response, authenticating will make no difference. On servers where authentication is required, this commonly means that the provided credentials were successfully authenticated but that the credentials still do not grant the client permission to access the resource (e.g. a recognized user attempting to access restricted content). 404 Not Found correct answers The requested resource could not be found but may be available again in the future. Subsequent requests by the client are permissible. 405 Method Not Allowed correct answers A request was made of a resource using a request method not supported by that resource; for example, using GET on a form which requires data to be presented via POST, or using PUT on a read-only resource. 406 Not Acceptable correct answers The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request.

407 Proxy Authentication Required correct answers The client must first authenticate itself with the proxy. 408 Request Timeout correct answers The server timed out waiting for the request. According to W3 HTTP specifications: "The client did not produce a request within the time that the server was prepared to wait. The client MAY repeat the request without modifications at any later time." 409 Conflict correct answers Indicates that the request could not be processed because of conflict in the request, such as an edit conflict.[2] 410 Gone correct answers Indicates that the resource requested is no longer available and will not be available again. This should be used when a resource has been intentionally removed and the resource should be purged. Upon receiving a 410 status code, the client should not request the resource again in the future. Clients such as search engines should remove the resource from their indices. Most use cases do not require clients and search engines to purge the resource, and a "404 Not Found" may be used instead. 411 Length Required correct answers The request did not specify the length of its content, which is required by the requested resource.[2] 412 Precondition Failed correct answers The server does not meet one of the preconditions that the requester put on the request.[2] 413 Request Entity Too Large correct answers The request is larger than the server is willing or able to process. 414 Request-URI Too Long correct answers The URI provided was too long for the server to process.

503 Service Unavailable correct answers The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state. 504 Gateway Timeout correct answers The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.[2] 505 HTTP Version Not Supported correct answers The server does not support the HTTP protocol version used in the request. 506 Variant Also Negotiates (RFC 2295) correct answers Transparent content negotiation for the request results in a circular reference. 507 Insufficient Storage (WebDAV; RFC 4918) correct answers The server is unable to store the representation needed to complete the request. 509 Bandwidth Limit Exceeded (Apache bw/limited extension) correct answers This status code, while used by many servers, is not specified in any RFCs. 510 Not Extended (RFC 2774) correct answers Further extensions to the request are required for the server to fulfill it. 511 Network Authentication Required (RFC 6585) correct answers The client needs to authenticate to gain network access. Intended for use by intercepting proxies used to control access to the network (e.g. "captive portals" used to require agreement to Terms of Service before granting full Internet access via a Wi-Fi hotspot).[18]