HTTPResponse not using accumulated headers correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Critical
|
Tres Seaver |
Bug Description
In testing Zope 2.13.0a1, I noticed an issue when attempting to upgrade a plone 3.3.5 site.
In the file, ZServer/
>>> headers = headers.items()
>>> for line in self.accumulate
>>> if line[0] == '\t':
>>> headers[-1][1] += '\n' + line
>>> continue
>>> headers.
The problem is that accumulated_headers is a tuple of name, values for the headers. So this sort of thing should actually be,
>>> headers = headers.items()
>>> headers.
Before testing the upgrade, the site worked fine. It must be that the accumulated_headers is not used often and the bug just never surfaced. Perhaps I could be missing something though.
Changed in zope2: | |
milestone: | 2.13.0a2 → 2.13.0a3 |
Changed in zope2: | |
status: | Confirmed → Fix Committed |
Changed in zope2: | |
status: | Fix Committed → Fix Released |
Tres, was this part of your cleanup?