Modify ↓
#473 closed defect (fixed)
mod_python handler needs support for non-HTML content
Reported by: | Christopher Lenz | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | high | Milestone: | 0.8 |
Component: | web frontend/mod_python | Version: | 0.7 |
Severity: | critical | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal 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 (0)
Change History (2)
comment:1 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 21 years ago
Component: | general → mod_python frontend |
---|
Note:
See TracTickets
for help on using tickets.
Fixed in [642]