Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Refused to set unsafe header "Connection"

Go to End

9 Posts   12633 Views


Community Member, 1 Post

12 July 2013 at 3:11am

It's an Error in prototype.js
Apparently, the error appeared because XMLHttpRequest isn’t allowed to set the Content-length header. It is set automatically by modern browsers. Mozilla Firefox now behaves the same way, just really old ones didn't. I solved the error by applying the following patch to the file sapphire/thirdparty/prototype/prototype.js

Go to Top