Common HTTP status codes Cheat Sheet

Angelos Chalaris · Webdev, Http · Jun 12, 2021

1xx - Informational

  • 100: Continue - Everything is ok so far
  • 102: Processing - Request is being processed, no response available yet

2xx - Success

  • 200: OK - Request successful
  • 201: Created - Request fulfilled, new resource has been created

3xx - Redirection

  • 301: Moved Permanently - Resource permanently moved to a new URL
  • 302: Moved Temporarily - Resource temporarily moved to a new URL

4xx - Client Error

  • 400: Bad Request - Server cannot understand and process the request
  • 401: Unauthorized - Authentication required, user not yet authenticated
  • 403: Forbidden - Insufficient access permissions to the resource
  • 404: Not Found - Requested resource not found
  • 410: Gone - Request no longer available due to intentional removal

5xx - Server Error

  • 500: Internal Server Error - Generic unhandled server error
  • 502: Bad Gateway - Gateway server got an invalid response
  • 503: Service Unavailable - Server temporarily unable to handle request
  • 504: Gateway Timeout - Gateway server didn't get a response in time

Recommended snippets & collections

  • Cheatsheets

    Snippet collection

    A collection of cheatsheets to bookmark and come back to whenever you need to look up anything.

  • DNS records may not be a thing you work too often with. Regardless, some basic knowledge can go a long way.

  • Maximize your productivity when working with a bash or other shell terminal by using these keyboard shortcuts.

  • Use the HTML autocomplete attribute to create more secure and accessible password fields.