jasonleschnik
1/30/2014 - 12:17 AM

HTTP codes

HTTP codes

alias 100='echo "Continue: An interim response. The clients request was received and has not yet been rejected. Please continue."'
alias 101='echo "Switching Protocols: The Server is going to switch the request to a different protocol"'
alias 200='echo "OK: The request has succeeded. All is good."'
alias 201='echo "Created: The request has been fulfilled and resulted in a new resource being created."'
alias 202='echo "Accepted: The request has been accepted for processing, but the processing has not been completed."'
alias 203='echo "Non-Authoritative Information: The returned information is not the definitive set as available from the origin server"'
alias 204='echo "No Content: the request was fulfilled but doesnt need to return a body. The response MAY include new/updated info"'
alias 205='echo "Reset Content: the request was fulfilled and the user agent SHOULD reset the document view which sent he request"'
alias 206='echo "Partial Content: A request was made for part of a document. This is common with caching tools."'
alias 300='echo "Multiple Choices: Resource corresponds to any one of a set of representations, is being provided so that the user (or user agent) can select a preferred representation and redirect its request to that location."'
alias 301='echo "Moved Permanently: The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs"'
alias 302='echo "Moved Temporarily: The requested resource resides temporarily under a different URI."'
alias 303='echo "See Other: The response to the request can be found under a different URI and SHOULD be retrieved using a GET method on that resource."'
alias 304='echo "Not Modified: the browser requested a resource, but it hasnt changed. Use your cached copy."'
alias 305='echo "Use Proxy: The requested resource MUST be accessed through the proxy given by the Location field."'
alias 306='echo "(Unused): The 306 status code was used in a previous version of the specification, is no longer used, and the code is reserved."'
alias 307='echo "Temporary Redirect: The resource resides temporarily at a different URI, but keep using this one since it MAY change on occasion"'
alias 400='echo "Bad Request: The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications"'
alias 401='echo "Unauthorized: Your login was bad, and therefore cant access the content"'
alias 402='echo "Payment Required: This code is reserved for future use."'
alias 403='echo "Forbidden: The server understood the request, but is refusing to fulfill it. Probably a permissions issue"'
alias 404='echo "Not Found: The server couldnt find anything matching the Request-URI. Doesnt know if its temporary or permanent."'
alias 405='echo "Method Not Allowed: The method specified cant be used for the identified resource"'
alias 406='echo "Not Acceptable: your browser sent a list of things it accepts - none of which can be used by the server"'
alias 407='echo "Proxy Authentication Required: Similar to 401 (Unauthorized), but indicates that the client must first authenticate with the proxy."'
alias 480='echo "Request Timeout: The client did not produce a request within the time that the server was prepared to wait."'
alias 409='echo "Conflict: The request could not be completed due to a conflict with the current state of the resource"'
alias 410='echo "Gone: The resource the client wanted isnt on the server anymore, and its not coming back"'
alias 411='echo "Length Required (Thats What She Said): The server refuses to accept the request without a defined Content-Length."'
alias 412='echo "Precondition Failed: Client can place criteria on request to prevent an incorrect resource from being returned."'
alias 413='echo "Requested Entity Too Large: The client sent a request that is larger than the server is willing or able to process."'
alias 414='echo "Request-URI Too Long: The client sent a URI thats too long."'
alias 415='echo "Unsupported Media Type: The server is refusing to service the request because the client sent it in an unsupported format."'
alias 416='echo "Requested Range Not Satisfiable: The request range sent by the client cant be used by the server."'
alias 417='echo "Expectation Failed: The expectation given in an Expect request-header field could not be met by this server."'
alias 500='echo "Internal Server Error: The server encountered an unexpected error that request. check the server side code for syntax errors."'
alias 501='echo "Not Implemented: The server does not recognize the request method and is not capable of supporting it for any resource."'
alias 502='echo "Bad Gateway: The server received an invalid response from the upstream server in attempting to fulfill the request."'
alias 503='echo "Service Unavailable: The server is currently unable to handle the request due to a temporary overload or server maintenance."'
alias 504='echo "Gateway Timeout: The server did not receive a timely response from the upstream server specified by the URI"'
alias 505='echo "HTTP Version Not Supported: The server does not support, or refuses to support, the version of HTTP protocol used in the request"'