zope.publisher sets Content-Length header for 304 Not Modified
Bug #235779 reported by
Christian Zagrodnick
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.publisher |
Invalid
|
Undecided
|
Unassigned |
Bug Description
For a Not Modified status there should not be a content-length header, because there is no content.
Currently there is "Content-Length: 0" spit out which (for instance) let's wget fetch the page again because "length changed".
Changed in zope3: | |
status: | New → Won't Fix |
To post a comment you must log in.
Workaround is to pass a non-string result (one implementing IResult) to such `setResult`.