Skip to content

Redirect status code causing no redirect to occur #4478

Closed Answered by metcoder95
jonnow asked this question in Q&A
Discussion options

You must be logged in to vote

Hey! Can we know which HTTP Status code you were using?
It is important to respect the HTTP 3xx redirect semantics as that will indicate to the browser how to handle the redirect and what to do next. If you're trying to execute a redirect by replying with a, e.g. 213, as it falls into the range >=200 < 300 for instance the browser will understand it is ok and nothing else has to be done, as the server indicated so.

For a redirect for being successful, it should fall in the range of > 300 depending on your feature need.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@metcoder95
Comment options

@jonnow
Comment options

@metcoder95
Comment options

@jonnow
Comment options

Answer selected by jonnow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants