Skip to content

Glossary: System Design Basics in C++

Redirect

Also written: redirects, 301, 302

A 301 (moved for good) or 302 (moved for now) response with a `Location` header that tells the browser to go to another URL. Browsers remember a 301 and may skip your server, so use 302 if you must count every click.

Where the book teaches it

Related terms

HTTP status codes