首页 文章

棱角2 jee7(野生蝇)

提问于
浏览
0

这是我对WF的回应

HTTP/1.1 200 OK
Expires: 0
Cache-Control: no-cache, no-store, must-revalidate
X-Powered-By: Undertow/1
Set-Cookie: JSESSIONID=IQCjYqZ4Vy06q072fdIR6a41.sk-za-04702; path=/prototype-rest
Access-Control-Allow-Headers: accept, authorization, content-type, x-requested-with
Server: WildFly/8
Pragma: no-cache
Date: Thu, 03 Nov 2016 09:33:07 GMT
Connection: keep-alive
Access- Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Content-Length: 0
Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT
Access-Control-Max-Age: 3600

angular 2表示这个响应为错误 - >我已经将所有可能的cors添加到WF,仍然不知道问题在哪里 .

1 回答

  • 2

    显然问题是 Access- Control-Allow-Origin: * Headers 中的空格 .

    把它放在这里..好..所以这个问题可以有一个答案:)

相关问题