[Trac-tickets] Re: [The Trac Project] #2006: broken images and
attachments. SSL related.
The Trac Project
noreply at edgewall.com
Mon Sep 5 08:51:31 CDT 2005
#2006: broken images and attachments. SSL related.
-------------------------------------------------+--------------------------
Reporter: tiger at tadol.net | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: browser | Version: devel
Severity: normal | Resolution:
Keywords: https ssl broken images attachments |
-------------------------------------------------+--------------------------
Comment (by tiger at tadol.net):
Ok. It's my folt. Things tends to change rapidly...
Below patch for the today's trunk.
{{{
Index: trac/web/api.py
===================================================================
--- trac/web/api.py (revision 2184)
+++ trac/web/api.py (working copy)
@@ -184,9 +184,12 @@
self.send_response(200)
if not mimetype:
mimetype = mimetypes.guess_type(path)[0]
+
+ self.send_header('Cache-control', 'must-revalidate')
+ self.send_header('Expires', 'Fri, 01 Jan 1999 00:00:00 GMT')
self.send_header('Content-Type', mimetype)
self.send_header('Content-Length', stat.st_size)
- self.send_header('Last-Modified', last_modified)
+ #self.send_header('Last-Modified', last_modified)
self._send_cookie_headers()
self.end_headers()
}}}
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2006>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list