In an AJAX call, 302 is not followed

后端 未结 4 2137
孤独总比滥情好
孤独总比滥情好 2020-12-28 15:23

I\'m using jQuery 1.6.2 to make a POST AJAX request to a page on the same domain. That page does a 302 redirect to another page.

Now, on my local machine this work f

4条回答
  •  佛祖请我去吃肉
    2020-12-28 16:16

    Turns out a bug in the redirect code caused the redirect to go to http:// while the page that was requested was https://. That makes the browser refuse to follow the redirect.

提交回复
热议问题