Ask Your Question
2

What are the browsers that support 307/308 redirects and what is their method of handling them?

asked 2023-06-05 18:06:05 +0000

djk gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-06-05 18:20:01 +0000

woof gravatar image

All major modern web browsers support 307/308 redirects.

Google Chrome, Mozilla Firefox, Microsoft Edge, and Apple Safari all handle 307 and 308 redirects in a similar manner. They will automatically follow the redirect and change the URL displayed in the address bar.

The main difference between the two redirects is that a 307 redirect maintains the original HTTP method of the request while a 308 redirect forces the browser to use the original method again in the redirected request. This is useful in cases where a POST request needs to be redirected, as a 302 redirect would change the method to GET, potentially causing issues.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-05 18:06:05 +0000

Seen: 13 times

Last updated: Jun 05 '23