]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/getter/http_getter_types.ml
All the equalityTactics have now been ported to use both the equality of
[helm.git] / helm / ocaml / getter / http_getter_types.ml
index 74ffe9fe1ee45eaae21f8e94fdc9998d693ef7aa..1574e2bdb12e4249a82a421602194325dbc343ae 100644 (file)
@@ -34,9 +34,12 @@ 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 *)
 
-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 =
   {