|
Patch for testbrowser.py: msg#00060web.zope.z3base.five
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) |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: zope.viewlet and zope.contentprovider - options for Zope 2 and Plone 3: 00060, Andreas Jung |
|---|---|
| Next by Date: | Re: zope.viewlet and zope.contentprovider - options for Zope 2 and Plone 3: 00060, whit |
| Previous by Thread: | zope.viewlet and zope.contentprovider - options for Zope 2 and Plone 3i: 00060, Martin Aspeli |
| Next by Thread: | Re: Patch for testbrowser.py: 00060, Philipp von Weitershausen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |