#2158: Do not override the response content-type if it has already been 
modified.
-------------------------+--------------------------------------------------
 Reporter:  amcgregor    |        Owner:  mramm   
     Type:  enhancement  |       Status:  assigned
 Priority:  high         |    Milestone:  2.0b5   
Component:  TurboGears   |      Version:  trunk   
 Severity:  normal       |   Resolution:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by mramm):

  * owner:  percious => mramm
  * status:  new => assigned

Comment:

 I checked in a change where this will work automatically IFF the response
 ( {{{self.data}}} above) is a string.  If you're returning a dict, you
 still have to register cutstom types so that we can know what template
 engine to use.


 Not sure if this is good enough, but I couldn't think of a use case where
 you'd not be returning a string when you want to manually set the content
 type in the controller.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2158#comment:2>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to