CORS request with IE11

前端 未结 6 2066
误落风尘
误落风尘 2020-12-02 18:55

I have a CORS (cross origin resource sharing) request coming from my login page to the application site, on a different URL. I have a simple page I ping to determine if a us

6条回答
  •  余生分开走
    2020-12-02 19:42

    We had the problem that, except every other browser, the IE11 send Access-Control-Request-Headers: accept with the request, so "accept" had to be added to the allowedHeaders cors configuration, because it seems not to be part of the default spring cors configuration.

提交回复
热议问题