]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/getter/http_getter_types.ml
removed no longer used METAs
[helm.git] / helm / ocaml / getter / http_getter_types.ml
index 1d8f7fcb755e09dca3e011ba25848af6e01a9e43..fb0c30e83e18a54a9c9987a491906e7a21eda9e1 100644 (file)
@@ -26,6 +26,8 @@
  *  http://helm.cs.unibo.it/
  *)
 
+(* $Id$ *)
+
 exception Bad_request of string
 exception Unresolvable_URI of string
 exception Invalid_URI of string
@@ -33,9 +35,14 @@ 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 =
   {
@@ -61,3 +68,5 @@ type uri =
 
 module StringSet = Set.Make (String)
 
+type prefix_attr = [ `Read_only | `Legacy ]
+