#2273: [PATCH] Pass toscawidgets parameters from TG config so can cache header
created
-------------------------+--------------------------------------------------
 Reporter:  LawrenceK    |       Owner:        
     Type:  enhancement  |      Status:  new   
 Priority:  normal       |   Milestone:  2.0rc1
Component:  TurboGears   |     Version:  2.0b7 
 Severity:  normal       |    Keywords:        
-------------------------+--------------------------------------------------
 Turbogears passes a predefined set of parameters to toscawidgets when it
 creates the middleware, this means that you cannot override the
 configuration from externally, i.e. TG configuration files. At the time I
 was trying to pass a resource_expires value into tw so that it set the
 cache header to something other than no-cache - the internal default is 0.

 This is a patch to tg.core.configuration to pass parameters into the tg
 middleware and a patch to tw.middleware to pick up a resource_expires
 header.

 See
 http://groups.google.com/group/turbogears/browse_thread/thread/cad07193436ad7df
 thread for more details etc.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2273>
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