I use jQuery to make an AJAX POST request to my server, which can return HTTP response with status 302. Then JavaScript just sends GET request to this URL, while I\'d like t
Rather than asking the Javascript code to Handle 302, it would be better to return a 500 with custom error code+ message on event of 302