FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.
HTTP Response Codes Defined
Posted on 24 October 2003 05:58 PM
 
General
1xxHTTP_INFORMATIONAL
Request was received; processing can continue.
2xxHTTP_SUCCESSFUL
The request was successfully received, understood, and accepted.
3xxHTTP_REDIRECTION
Further action must be taken in order to complete the request.
4xxHTTP_CLIENT_ERROR
The request contained bad syntax or cannot be fulfilled.
5xxHTTP_SERVER_ERROR
The server failed to fulfill an apparently valid request.
Detail
100HTTP_CONTINUE
Request was received and processing can continue.
101HTTP_SWITCHING_PROTOCOLS
Request to switch protocols accepted.
200HTTP_OK
Request completed successfully.
201HTTP_CREATED
Request fulfilled and resulted in new resource being created.
202HTTP_ACCEPTED
Request accepted, but processing has not completed.
203HTTP_NON_AUTHORITATIVE_INFORMATION
Information in Header is not from original server.
204HTTP_NO_CONTENT
Request received; no information exists.
205HTTP_RESET_CONTENT
Request fulfilled; reset document view.
206HTTP_PARTIAL_CONTENT
The server has fulfilled the partial GET request for the resource.
300HTTP_MULTIPLE_CHOICES
Requested address refers to more than one entity.
301HTTP_MOVED_PERMANENTLY
Page has been moved permanently; new URL available.
302HTTP_FOUND
Page has been moved temporarily; new URL available.
303HTTP_SEE_OTHER
Requested data is somewhere else; GET method should be used to retrieve it.
304HTTP_NOT_MODIFIED
Requested resource has not been modified.
305HTTP_USE_PROXY
Requested resource must be accessed through proxy given by Location field.
307HTTP_TEMPORARY_REDIRECT
Requested data temporarily resides at a new location.
400HTTP_BAD_REQUEST
Request could not be processed due to syntax error.
401HTTP_UNAUTHORIZED
Client request did not include proper authentication data.
402HTTP_PAYMENT_REQUIRED
Payment is required. (Not implemented at this time. Reserved for future use.)
403HTTP_FORBIDDEN
Request was understood, however access is forbidden.
404HTTP_NOT_FOUND
Requested document could not be found.
405HTTP_METHOD_NOT_ALLOWED
The method being used to access the file is not allowed.
406HTTP_NOT_ACCEPTABLE
Request document does not exist in a format the client can accept.
407HTTP_PROXY_AUTHENTICATION_REQUIRED
Client must first authenticate with proxy for access.
408HTTP_REQUEST_TIMEOUT
The client did not produce a request within the time that the server was prepared to wait.
409HTTP_CONFLICT
Request could not be completed due to a conflict with the resource.
410HTTP_GONE
Requested resource no longer exists and no forwarding address is known.
411HTTP_LENGTH_REQUIRED
Request is missing required Content-Length header.
412HTTP_PRECONDITION_FAILED
Request failed due to precondition not being met.
413HTTP_REQUEST_ENTITY_TOO_LARGE
Request was too big to process.
414HTTP_REQUEST_URI_TOO_LARGE
Request refused due to URL being longer than server is willing to process.
415HTTP_UNSUPPORTED_MEDIA_TYPE
Requested resource format is not supported.
416HTTP_REQUESTED_RANGE_NOT_SATISFIABLE
Request includes a Range header and none of the ranges specified are contained within the requested resource.
417HTTP_EXPECTATION_FAILED
The server is unable to meet the demands of the Expect header given by the client.
500HTTP_INTERNAL_SERVER_ERROR
The server encountered an unexpected condition which prevented it from fulfilling the request.
501HTTP_NOT_IMPLEMENTED
The server does not support the functionality required to fulfill the request.
502HTTP_BAD_GATEWAY
The server, while acting as a gateway or proxy, received an invalid response from an upstream provider.
503HTTP_SERVICE_UNAVAILABLE
The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
504HTTP_GATEWAY_TIMEOUT
The server, while acting as a gateway or proxy, did not receive a timely response from an upstream provider.
505HTTP_VERSION_NOT_SUPPORTED
The server does not support, or refuses to support, the HTTP protocol version that was used in the request.