Branch: Tag:

2002-03-25

2002-03-25 13:25:17 by Martin Stjernholm <mast@lysator.liu.se>

Return a stat for internal-roxen-unit and the similar images to enable
client side caching for them.

Rev: server/base_server/configuration.pike:1.497

5:   // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.496 2002/03/06 09:27:49 grubba Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.497 2002/03/25 13:25:17 mast Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
1312:    TIMER_END(internal_magic);    return (["data":"GIF89a\1\0\1\0\200ÿ\0ÀÀÀ\0\0\0!ù\4\1\0\0\0\0,"    "\0\0\0\0\1\0\1\0\0\1\1""2\0;", -  "type":"image/gif" ]); +  "type":"image/gif", +  "stat": ({0, 0, 0, 900000000, 0, 0, 0})]);    }    if(has_prefix(loc, "pixel-"))    {
1320:    return (["data":sprintf("GIF89a\1\0\1\0\200\0\0\0\0\0%c%c%c,\0\0\0"    "\0\1\0\1\0\0\2\2L\1\0;",    @parse_color(loc[6..])), -  "type":"image/gif" ]); +  "type":"image/gif", +  "stat": ({0, 0, 0, 900000000, 0, 0, 0})]);    }    TIMER_END(internal_magic);    return internal_roxen_image(loc, id);