Re: [Repoze-dev] RenderResponse objects

2010-04-06 Thread Chris McDonough
On 4/6/10 3:15 AM, Chris Withers wrote: > Chris McDonough wrote: >>> Also, how come you put response attributes on the request when using a >>> renderer? >>> >>> How about a RenderResponse object: >>> >>> class RenderResponse(dict): >>> >>> def __init__(self): >>> super(dict,self).__init__() >>> se

[Repoze-dev] RenderResponse objects

2010-04-06 Thread Chris Withers
Chris McDonough wrote: >> Also, how come you put response attributes on the request when using a >> renderer? >> >> How about a RenderResponse object: >> >> class RenderResponse(dict): >> >> def __init__(self): >> super(dict,self).__init__() >> self.content_type = 'the default' >> self.header_list