This document provides a cheat sheet summarizing HTTP status codes. It lists the 1xx informational codes like 100 Continue, the 2xx success codes like 200 OK, the 3xx redirection codes like 301 Moved Permanently, the 4xx client error codes like 400 Bad Request, and the 5xx server error codes like 500 Internal Server Error. For each code, it gives a brief description and the associated status constant in Golang.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
70 views1 page
HTTP Status Codes Golang
This document provides a cheat sheet summarizing HTTP status codes. It lists the 1xx informational codes like 100 Continue, the 2xx success codes like 200 OK, the 3xx redirection codes like 301 Moved Permanently, the 4xx client error codes like 400 Bad Request, and the 5xx server error codes like 500 Internal Server Error. For each code, it gives a brief description and the associated status constant in Golang.