X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fimage.ml;h=90d0a5acb86926a1a8861f98703e75fd5e38fff9;hb=a91aac39ca718af3ad1f446742c3d200da60f4b6;hp=05589501f291a6492ecb3dcb4a478f60423324df;hpb=3f0bcc30ff112dc38e882f4f08b8c37d693799ef;p=cocanwiki.git diff --git a/scripts/image.ml b/scripts/image.ml index 0558950..90d0a5a 100644 --- a/scripts/image.ml +++ b/scripts/image.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: image.ml,v 1.11 2004/10/24 11:34:37 rich Exp $ + * $Id: image.ml,v 1.12 2004/10/28 14:51:03 rich Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -74,9 +74,8 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid _ _ = ) ); - if version <> None then - (* Set a medium-length expiry time on this resource. *) - Table.set (Request.headers_out r) "Expires" (Expires.medium ()); + (* Set a medium-length expiry time on this resource. *) + Table.set (Request.headers_out r) "Expires" (Expires.medium ()); (* Content-length header. *) Table.set (Request.headers_out r) "Content-Length"