|
Re: Patch for testbrowser.py: msg#00090web.zope.z3base.five
Daniel Nouri wrote: > This patch adds 'Set-Cache' headers to the headers that are forwarded to > PublisherResponse. Before, these headers would be suppressed. > > > Index: testbrowser.py > =================================================================== > --- testbrowser.py (revision 66810) > +++ testbrowser.py (working copy) > @@ -35,6 +35,7 @@ > headers.sort() > headers.insert(0, ('Status', "%s %s" % (status, reason))) > headers = '\r\n'.join('%s: %s' % h for h in headers) > + headers += '\r\n' + '\r\n'.join(real_response._cookie_list()) > content = real_response.body > return testing.PublisherResponse(content, headers, status, reason) > Brian, since you added Five.testbrowser, perhaps you can say something about this patch and, if you think it's sound, apply it to 1.4 and the trunk? Thanks Philipp |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Five 1.2.2 with Zope 2.8.4 - adapters not working for root folder?: 00090, Philipp von Weitershausen |
|---|---|
| Next by Date: | Re: Patch for testbrowser.py: 00090, Brian Sutherland |
| Previous by Thread: | Patch for testbrowser.pyi: 00090, Daniel Nouri |
| Next by Thread: | Re: Patch for testbrowser.py: 00090, Brian Sutherland |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |