[Tickets #1140] javascripts can't be loaded periodically

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Jan 13 05:56:55 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1140
-----------------------------------------------------------------------
 Ticket     | 1140
 Updated By | mcsi at mcsi.pp.ru
 Summary    | javascripts can't be loaded periodically
 Queue      | Horde Base
 Version    | 3.0.2
 State      | Feedback
 Priority   | 2. Medium
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


mcsi at mcsi.pp.ru (2005-01-13 05:56) wrote:

The problem turns out to be in If-Modified-Since HTTP header. This is
always-failing request made by IE:

GET /horde/services/javascript.php?file=open_compose_win.js&app=imp
HTTP/1.1
Accept: */*
Accept-Language: ru
Accept-Encoding: gzip, deflate
If-Modified-Since: Thu, 02 Dec 2004 16:27:54 GMT; length=1288
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: users.portpc-design.spb.ru
Connection: Keep-Alive
Cookie: Horde=8e8aa91017dc9ae1af4442dce7a2d3c0

If I skip If-Modified-Since header, evrything works fine. After deleting IE
cache, scripts loads fine. After refresh it gets 500 error. 

When I commented out
header('Last-Modified: ' . $mod_gmt);
from javascript.php everything started to work just fine.




More information about the bugs mailing list