Skip to content

Instantly share code, notes, and snippets.

@rponte
Created September 25, 2012 17:36
Show Gist options
  • Save rponte/3783337 to your computer and use it in GitHub Desktop.
Save rponte/3783337 to your computer and use it in GitHub Desktop.
HTTP codes, we are family

HTTP codes, we are family

Above we have looked at just a few of the available HTTP codes; there are many others. Some are very well-known, such as 404 Not Found, but others are quite obscure and don't crop up very often. Whatever the case, the first digit is always an indication of the family of codes they belong to:

  • 1xx (Informational): Request received, continuing process.
  • 2xx (Successful): The action was successfully received, understood, and accepted.
  • 3xx (Redirection): Further action needs to be taken in order to complete the request.
  • 4xx (Client Error): The request contains bad syntax or cannot be fulfilled.
  • 5xx (Server Error): The server failed to fulfil an apparently valid request.
@rponte
Copy link
Author

rponte commented Sep 25, 2012

@rponte
Copy link
Author

rponte commented Sep 25, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment