Home > Http Status > Http 1.1 Error Codes

Http 1.1 Error Codes

Contents

These response codes are applicable to any request method. 500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request. In some cases, this may even be preferable to sending a 406 response. If the 302 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued. Wikipedia This means that the server has received the request headers, and that the client should proceed to send the request body (in the case of a request for which a body needs to be sent; for example, a POST request). http://orgias.org/http-status/http-error-codes-301.html

In a POST request, the response will contain an entity describing or containing the result of the action.[7] 201 Created The request has been fulfilled, resulting in the creation of a new resource.[8] 202 Accepted The request has been accepted for processing, but the processing has not been completed. Retrieved 16 October 2015. ^ Berners-Lee, Tim; Fielding, Roy T.; Nielsen, Henrik Frystyk (May 1996). To have a server check if the request could be accepted based on the request's headers alone, a client must send Expect: 100-continue as a header in its initial request and check if a 100 Continue status code is received in response before continuing (or receive 417 Expectation Failed and not continue). 101 Switching Protocols The server understands and is willing to comply with the client's request, via the Upgrade message header field (section 14.42), for a change in the application protocol being used on this connection. Either upgrade your client, or try requesting the page using https:// 428 Precondition Required HTTP/1.1 428 Precondition Required Date: Sat, 06 Apr 2013 21:10:40 GMT Server: Apache/2.4.4 (Unix) Content-Length: 215 Content-Type: text/html; charset=iso-8859-1 428 Precondition Required

Precondition Required

The request is required to be conditional.

429 Too Many Requests HTTP/1.1 429 Too Many Requests Date: Sat, 06 Apr 2013 21:10:41 GMT Server: Apache/2.4.4 (Unix) Content-Length: 227 Content-Type: text/html; charset=iso-8859-1 429 Too Many Requests

Too Many Requests

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

431 Request Header Fields Too Large HTTP/1.1 431 Request Header Fields Too Large Date: Sat, 06 Apr 2013 21:10:41 GMT Server: Apache/2.4.4 (Unix) Content-Length: 273 Content-Type: text/html; charset=iso-8859-1 431 Request Header Fields Too Large

Request Header Fields Too Large

The server refused this request because the request header fields are too large.

5xx Server Error 500 Internal Server Error HTTP/1.1 500 Internal Server Error Date: Sat, 06 Apr 2013 21:10:41 GMT Server: Apache/2.4.4 (Unix) Content-Length: 528 Connection: close Content-Type: text/html; charset=iso-8859-1 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

501 Not Implemented HTTP/1.1 501 Not Implemented Date: Sat, 06 Apr 2013 21:10:41 GMT Server: Apache/2.4.4 (Unix) Allow: TRACE Content-Length: 196 Connection: close Content-Type: text/html; charset=iso-8859-1 501 Not Implemented

Not Implemented

GET to /e/501 not supported.

502 Bad Gateway HTTP/1.1 502 Bad Gateway Date: Sat, 06 Apr 2013 21:10:41 GMT Server: Apache/2.4.4 (Unix) Content-Length: 232 Content-Type: text/html; charset=iso-8859-1 502 Bad Gateway

Bad Gateway

The proxy server received an invalid response from an upstream server.

503 Service Unavailable HTTP/1.1 503 Service Unavailable Date: Sat, 06 Apr 2013 21:10:41 GMT Server: Apache/2.4.4 (Unix) Content-Length: 299 Connection: close Content-Type: text/html; charset=iso-8859-1 503 Service Unavailable

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

Http Status Code 400

ETag and/or Content-Location, if the header would have been sent in a 200 response to the same request Expires, Cache-Control, and/or Vary, if the field-value might differ from that sent in any previous response for the same variant If the conditional GET used a strong cache validator (see section 13.3.3), the response SHOULD NOT include other entity-headers. Retrieved 2015-04-06. ^ "E Explanation of Failure Codes". The response MAY include new or updated metainformation in the form of entity-headers, which if present SHOULD be associated with the requested variant. According to W3 HTTP specifications: "The client did not produce a request within the time that the server was prepared to wait.

Retrieved 13 February 2016. ^ "300". Drupal. For example, a POST request should be repeated using another POST request.[29] 308 Permanent Redirect (RFC 7538) The request and all future requests should be repeated using another URI. 307 and 308 parallel the behaviors of 302 and 301, but do not allow the HTTP method to change. Http Code 302 Information responses 100 Continue This interim response indicates that everything so far is OK and that the client should continue with the request or ignore it if it is already finished. 101 Switching Protocol This code is sent in response to an Upgrade: request header by the client, and indicates that the protocol the server is switching too.

A client sends, as part of a request, headers indicating what types of data it can use, and a 406 error is returned when the response is of a type not i that list.407 - Proxy Authentication RequiredThe 407 status code is very similar to the 401 status code, and means that the client must be authorised by the proxy before the request can proceed.408 - Request TimeoutA 408 status code means that the client did not produce a request quickly enough. Http Status Codes Cheat Sheet Open an IP socket connection to that IP address. POST: The resource describing the result of the action is transmitted in the message body. A 201 response MAY contain an ETag response header field indicating the current value of the entity tag for the requested variant just created, see section 14.19.

GetStatusCode. Http 422 Retrieved June 30, 2012. ^ "303". The client MAY repeat the request with a suitable Proxy-Authorization header field (section 14.34). Therefore, this same URI should be used by the client in future requests. 303 See Other Server sent this response to directing client to get requested resource to another URI with an GET request. 304 Not Modified This is used for caching purposes.

Http Status Codes Cheat Sheet

The request MUST have included a Range header field (section 14.35) indicating the desired range, and MAY have included an If-Range header field (section 14.27) to make the request conditional. http://www.restapitutorial.com/httpstatuscodes.html Wikipedia The client should switch to a different protocol such as TLS/1.0. 428 Precondition Required The 428 status code indicates that the origin server requires the request to be conditional. Http Status Code 400 Retrieved 16 October 2015. ^ "408". Http Response Example Search Engine Land. ^ "Hypertext Transfer Protocol version 2".

censorship or government-mandated blocked access. weblink This is from Apache 2.4.4 for the 83 Status Codes. The server is willing to upgrade the current connection to SSL, but your client doesn't support it. HTTP access authentication is explained in "HTTP Authentication: Basic and Digest Access Authentication" [43]. 10.4.3 402 Payment Required This code is reserved for future use. 10.4.4 403 Forbidden The server understood the request, but is refusing to fulfill it. Http Code 403

Such an event is common for limited-time, promotional services and for resources belonging to individuals no longer working at the server's site. Status when wrapped responses (e.g. So please feel free to modify, copy, republish, sell, or use anything on this site in any way at any time ;) My Online Tools Base64 Image Converter Boss HTTP Debugger Quick CSS Compressor Whoami - Your Info Popular Articles THE Ultimate Htaccess Mod_Rewrite Tips and Tricks Crazy Advanced Mod_Rewrite THE Mod_Rewrite Cheatsheet Hacking and Hackers The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. navigate here The response MUST include a WWW-Authenticate header field (section 14.47) containing a challenge applicable to the requested resource.

If the 301 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued. Http 404 Retrieved April 1, 2009. ^ "10 Status Code Definitions". Unexpected 1xx status responses MAY be ignored by a user agent.

Oracle.

It states: The redirection happens as a "302 Moved" header unless otherwise specified.". Retrieved 16 October 2015. ^ Meredith, Kevin. "HTTP Response for Unsuccessful Handling of Request". Retrieved 16 October 2015. ^ a b c d Nottingham, M.; Fielding, R. (April 2012). "RFC 6585 – Additional HTTP Status Codes". Http 502 Wikipedia A generic error message, given when no more specific message is suitable.

A code of 498 indicates an expired or otherwise invalid token.[68] 499 Token Required (Esri) Returned by ArcGIS for Server. The phrases used are the standard wordings, but any human-readable alternative can be provided. Effectively a 'ping' which tests what data the Web server is receiving from the client. http://orgias.org/http-status/http-error-codes-404-403.html The 428 status code is optional; clients cannot rely upon its use to prevent "lost update" conflicts.

The origin server MUST create the resource before returning the 201 status code. httpstatus. Retrieved 16 October 2015. ^ "301". If the 307 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.

Transparent Content Negotiation in HTTP. For example, this code could be used to present multiple video format options, to list files with different extensions, or to suggest word sense disambiguation.[19] 301 Moved Permanently This and all future requests should be directed to the given URI.[20] 302 Found This is an example of industry practice contradicting the standard. The 511 status code is designed to mitigate problems caused by "captive portals" to software (especially non-browser agents) that is expecting a response from the server that a request was made to, not the intervening network infrastructure. The actual current instance might not be available except by combining this response with other previous or future responses, as appropriate for the specific instance-manipulation(s).

Error code response for missing or invalid authentication token. 402 Payment Required This code is reserved for future use. A cache that does not support the Range and Content-Range headers MUST NOT cache 206 (Partial) responses. 10.3 Redirection 3xx This class of status code indicates that further action needs to be taken by the user agent in order to fulfill the request. Retrieved 16 October 2015. ^ Kowser; Patel, Amit. "REST response code for invalid data". Wikipedia The server is delivering only part of the resource due to a range header sent by the client.

Wikipedia This is an example of industry practice contradicting the standard.[2] The HTTP/1.0 specification (RFC 1945) required the client to perform a temporary redirect (the original describing phrase was "Moved Temporarily"), but popular browsers implemented 302 with the functionality of a 303 See Other. A user agent may automatically redirect a request. you) and servers communicate. Retrieved October 24, 2009. ^ Nielsen, Henrik Frystyk; Leach, Paul; Lawrence, Scott (February 2000).

It is intended for cases where another process or server handles the request, or for batch processing. 203 Non-Authoritative Information This response code means returned meta-information set is not exact set as available from the origin server, but collected from a local or a third party copy.