Modify ↓
Ticket #473 (closed defect: fixed)
Opened 8 years ago
Last modified 8 years ago
mod_python handler needs support for non-HTML content
| Reported by: | cmlenz | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | high | Milestone: | 0.8 |
| Component: | web frontend/mod_python | Version: | 0.7 |
| Severity: | critical | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
The mod_python handler is currently limited to delivering {{text/html}} content to the user agent. To support other content-types, we'll probably need to add a {{set_content_type}} function to the {{Request}} class in source:trunk/trac/core.py#latest, because Apache does not seem to like having the content-type being set by just setting the header. Rather, it requires the {{content-type}} field of the mod_python request object to be set.
Attachments
Change History
comment:1 Changed 8 years ago by cmlenz
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 8 years ago by jonas
- Component changed from general to mod_python frontend
Note: See
TracTickets for help on using
tickets.



Fixed in [642]