#2378: General content_type ticket.
--------------------------+-------------------------------------------------
 Reporter:  jorge.vargas  |        Owner:        
     Type:  defect        |       Status:  closed
 Priority:  high          |    Milestone:  2.1a2 
Component:  TurboGears    |      Version:  trunk 
 Severity:  normal        |   Resolution:  fixed 
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by ondrejj):

 None of them works for me. This is not accepted:

 {{{pylons.request['Content-Type'] = 'text/xml'}}}

 error:

 {{{TypeError: 'Request' object does not support item assignment}}}

 Versions:
 python-pylons-0.9.7-2.fc12.noarch
 TurboGears2-2.0.3-3.fc12.noarch

 Any other ideas, how to change content-type on TG 2.0?

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2378#comment:3>
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