Detecting a redirect in ajax request?

后端 未结 4 675
刺人心
刺人心 2020-11-28 08:46

I want to use jQuery to GET a URL and explicitly check if it responded with a 302 redirect, but not follow the redirect.

jQuery\'s $.ajax appea

4条回答
提交回复
热议问题