Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #528 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

[PATCH] configurable default content-type

Reported by: max Owned by: max
Priority: normal Milestone: 0.9
Component: TurboGears Version:
Severity: normal Keywords:


This patch allows to override TG's default "text/html" content-type via configuration setting tg.content_type. This allows to set default charset which is crucial sometimes (e.g. when using fastdata you have no control over expose() and templates).

I decided to post it as a ticket to get Kevin's approval. If I get it, I'll commit the patch myself.


content_type.patch Download (1.1 KB) - added by max 13 years ago.

Change History

Changed 13 years ago by max

comment:1 Changed 13 years ago by max

  • Status changed from new to closed
  • Resolution set to fixed

I assume no reaction is positive reaction. ;-) Submitted in r719.

Note: See TracTickets for help on using tickets.