Location headers are a mess because everyone implements them differently. Some clients auto-follow, some don’t.
For APIs, I’d say only use it with 201 or 3xx. Anything else is just confusing.
If you’re debugging, Firefox’s dev tools are nicer than Chrome’s for header inspection.
For APIs, I’d say only use it with 201 or 3xx. Anything else is just confusing.
If you’re debugging, Firefox’s dev tools are nicer than Chrome’s for header inspection.
