On 11/2/06, evan <[EMAIL PROTECTED]> wrote: > > Hi All, > > >From previous posts it would appear that to modify the response headers > all I should have to do is to import cherrypy and to set the > cherrypy.response.headers dictionary. But when I attempt to do that I > get the following: > > cherrypy.response.headers['Cache-Control'] = 'max-age=120' > TypeError: object does not support item assignment
cherrypy.response.headerMap['Cache-Control'] = 'max-age=120' -bob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

