X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Ffile.ml;h=0084d12278b43e97e2b86e2090ed1a2e4cc63030;hb=b9bed1282a309aaf3227ec93ccdeacce8cbb89b2;hp=a964aa316578f28cf46a7373d233f768ecc90cd5;hpb=11b93485a29771f4d826c50d9efc6d3607dfa50f;p=cocanwiki.git diff --git a/scripts/file.ml b/scripts/file.ml index a964aa3..0084d12 100644 --- a/scripts/file.ml +++ b/scripts/file.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: file.ml,v 1.5 2004/09/09 12:21:22 rich Exp $ + * $Id: file.ml,v 1.6 2004/09/27 12:37:54 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 @@ -52,7 +52,7 @@ 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" (Cgi_expires.expires_medium()); + Table.set (Request.headers_out r) "Expires" (Expires.medium ()); q#header ~content_type:mime_type (); print_string r data