CORS GET returns an empty response body in Firefox

后端 未结 2 2126
春和景丽
春和景丽 2021-01-04 03:28

From a RESTful Backbone application, I\'m doing CORS requests from mydomain.com to myExtdomain.com.

I did set up CORS on my

2条回答
  •  不知归路
    2021-01-04 03:45

    For me, the solution was to add Access-Control-Allow-Credentials: true in response headers of server side: this is the symmetric of setting request.withCredentials = true; for a XMLHttpRequest object on client side.

提交回复
热议问题