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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   15888 Views

Avatar
AndreasAugustin

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
https://github.com/silverstripe/silverstripe-framework/commit/26a6f2e372ac6ef9601a53cac7fadc9ad87ab819

Go to Top