Skip to content

Glossary: System Design Basics in Go

redirect

Also written: 301, 302, Location header

A response with status 301 or 302 that tells the browser to go to another address, given in the `Location` header. 301 is permanent and browsers remember it; 302 is temporary, so every click still reaches your server.

Where the book teaches it

Related terms

URL shortenerHTTP status codes