X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fgetter%2Fhttp_getter_types.ml;h=172550652024f86dd1212b74879c37fc75d88102;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;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..172550652 100644 --- a/helm/ocaml/getter/http_getter_types.ml +++ b/helm/ocaml/getter/http_getter_types.ml @@ -32,9 +32,15 @@ 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 = {