NoHeaderFieldContinuation

Warning
This product has not had a release in over 1 year and may no longer be maintained.
by J. Cameron Cooper last modified Feb 16, 2011 02:15 AM
Contributors: J. Cameron Cooper (jccooper)
Feel free to modify, publish, use and redistribute.

Monkeypatch to fix current versions of Google Chrome that break when Plone enables compression of responses.

Project Description

Monkeypatch for Zope to make ZPublisher not do header field continuation. Why? Because current versions of Chrome break on this.

Symptom: your Plone site, when viewed in Chrome, says::

  This webpage is not available.

  The webpage at [URL] might be temporarily down or it may have
  moved permanently to a new web address.

  + More information on this error

    Below is the original error message

      Error 320 (new::ERR_INVALID_RESPONSE): Unknown error.


This will happen on most Plone sites using CacheFu (or some other way) enabling contingent HTTP compression.
Zope, in this case, does HTTP header field continuation which current versions of Chrome cannot handle.
This is currently the case for version of Google Chrome up to 1.0.154.46. Sometime in the future, Chrome will address this bug.
See the Chrome bug report for more information.

FWIW, Zope's implementation is generally fine, and probably correct, and this probably should be installed
only so long as it remains a major client problem.

To install: just drop in Products directory.

Tested: Zope 2.9.6; newer versions of Zope 2 have the same code (andthe  same problem) so it should work on them too. Zope 3 also has this problem (in a method of a different name), so you can apply the same sort of fix for that, too--but not this product exactly.

This is a very simple product; there may be no future releases.

 

Current Release
NoHeaderFieldContinuation 0.1

Released Feb 12, 2009 — tested with Plone 3, Plone 2.5

Initial, and perhaps final, release.
More about this release…

Download file Get NoHeaderFieldContinuation for all platforms
NoHeaderFieldContinuation.zip
If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.

All Releases

Version Released Description Compatibility Licenses Status
0.1 Feb 12, 2009 Initial, and perhaps final, release. More about this release…
Plone 3
Plone 2.5
Freeware final

Comments (0)