unicode results needed for atom feeds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned | ||
Zope 3 |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.publisher |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I received the following traceback when retrieving an atom feed in zope 3:
Traceback (most recent call last):
File "/home/
response.
File "/home/
body, headers = self._implicitR
File "/home/
body, headers = super(BrowserRe
File "/home/
raise ValueError(
ValueError: Unicode results must have a text content type.
Although most feed readers will accept a content type of "text/xml" which will get around this problem, atom feeds are supposed to have the content type of "application/
http://
I think that zope.publisher.
tags: | added: tech-debt |
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in zope3: | |
status: | New → Won't Fix |
Changed in zope.publisher: | |
status: | New → Fix Released |
We ran into this problem ages back for the RDF feeds (which have a content type of application/ rdf+xml) . There the workaround was to make the viewclass explicitly encode the body as UTF-8.
The same should be done for the feeds.