Edgewall Software
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

Fixed in [642]

comment:2 Changed 8 years ago by jonas

  • Component changed from general to mod_python frontend
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.