开发者

MooTools - AJAX refused to set unsafe header "Connection"

Refused to set unsafe header "Connection"

I get this error on Chrome when running a request by ajax (MooTool开发者_Python百科s 1.1) ?

How to solve it ?


The issue was due to a Mootools 1.12 bug where it is trying to set a protected value during an Ajax request.

See http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader-method

References: http://www.sourcecoast.com/forums/topic?id=1076&p=1#p4038

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜