X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Focaml%2Fgetter%2Fhttp_getter_types.ml;h=fb0c30e83e18a54a9c9987a491906e7a21eda9e1;hb=771ee8b9d122fa963881c876e86f90531bb7434f;hp=ee13c6ec6944cb8c67bb6a10fe06f9be5bb09ac9;hpb=67460d22396d5fc3a5dffce07b2779e4b7960582;p=helm.git diff --git a/helm/ocaml/getter/http_getter_types.ml b/helm/ocaml/getter/http_getter_types.ml index ee13c6ec6..fb0c30e83 100644 --- a/helm/ocaml/getter/http_getter_types.ml +++ b/helm/ocaml/getter/http_getter_types.ml @@ -26,15 +26,23 @@ * http://helm.cs.unibo.it/ *) +(* $Id$ *) + exception Bad_request of string exception Unresolvable_URI of string exception Invalid_URI of string exception Invalid_URL of string exception Invalid_RDF_class of string exception Internal_error of string +exception Cache_failure of string +exception Dtd_not_found of string (* dtd's url *) +exception Key_already_in of string;; +exception Key_not_found of string;; +exception Http_client_error of string * string (* url, error message *) +exception Unsupported_scheme of string (** unsupported url scheme *) -type encoding = Enc_normal | Enc_gzipped -type answer_format = Fmt_text | Fmt_xml +type encoding = [ `Normal | `Gzipped ] +type answer_format = [ `Text | `Xml ] type ls_flag = No | Yes | Ann type ls_object = { @@ -60,3 +68,5 @@ type uri = module StringSet = Set.Make (String) +type prefix_attr = [ `Read_only | `Legacy ] +