Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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:

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 Christopher Lenz, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in [642]

comment:2 by Jonas Borgström, 15 years ago

Component: generalmod_python frontend

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.