mercredi 20 avril 2016

IE can't not display page with "302" status code (moved temporarily).

For security reason, using filter, I set the status code of every response to "302". Using code:

httpResponse.setStatus(HttpServletResponse.SC_MOVED_TEMPORARILY);

==================================================

Monitoring with developer tool

  • Chrome and Firefox can display the pages successfully, with status =>"302 Moved Temporarily"
  • IE cannot display the page, with status => (Aborted)

I tried 301, 303, 307. None of them work. I tried 308, it works.

How can I solve the problem to display the page in IE with status code "302"?

Reference: http://ift.tt/1ci5Be8




Aucun commentaire:

Enregistrer un commentaire