Edgewall Software

Ticket #473 (closed defect: fixed)

Opened 4 years ago

Last modified 4 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:

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

Changed 4 years ago by cmlenz

  • status changed from new to closed
  • resolution set to fixed

Fixed in [642]

Changed 4 years ago by jonas

  • component changed from general to mod_python frontend

Add/Change #473 (mod_python handler needs support for non-HTML content)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.