OpenShift: Access-Control-Allow-Origin set by server for GET request disappears on way back

前端 未结 1 1218
一个人的身影
一个人的身影 2021-01-05 16:13

I\'ve run into a strange behavior on OpenShift. I run a REST application on OpenShift which have CORS Filter enabled to set Access-Control-Allow-Origin header. This works fi

相关标签:
1条回答
  • 2021-01-05 17:12

    http requests to gears on OpenShift Online go through a reverse proxy (apache), so it is possible that header is being removed when it comes back through the proxy.

    0 讨论(0)
提交回复
热议问题