comparison src/settings.sig @ 770:c125df6fabfc

Runtime URL and MIME type filtering
author Adam Chlipala <adamc@hcoop.net>
date Sat, 02 May 2009 18:20:15 -0400
parents efceae06df17
children 28e42b22424d
comparison
equal deleted inserted replaced
769:efceae06df17 770:c125df6fabfc
76 val setRewriteRules : rewrite list -> unit 76 val setRewriteRules : rewrite list -> unit
77 val rewrite : path_kind -> string -> string 77 val rewrite : path_kind -> string -> string
78 78
79 (* Validating URLs and MIME types *) 79 (* Validating URLs and MIME types *)
80 val setUrlRules : rule list -> unit 80 val setUrlRules : rule list -> unit
81 val getUrlRules : unit -> rule list
81 val checkUrl : string -> bool 82 val checkUrl : string -> bool
82 83
83 val setMimeRules : rule list -> unit 84 val setMimeRules : rule list -> unit
85 val getMimeRules : unit -> rule list
84 val checkMime : string -> bool 86 val checkMime : string -> bool
85 87
86 end 88 end