[b]"How does the HTTP POST Location header work for redirecting responses?"[/b] or [b]"When should you use the HTT

20 Replies, 1468 Views

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.



Users browsing this thread: 1 Guest(s)