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=bf584f6ce4432fd5cf05aef12b6389a657dc8e4b;hpb=384c369d4cbf5dd6cf1013902d3a218260400e73;p=helm.git diff --git a/helm/ocaml/getter/http_getter_types.ml b/helm/ocaml/getter/http_getter_types.ml index bf584f6ce..172550652 100644 --- a/helm/ocaml/getter/http_getter_types.ml +++ b/helm/ocaml/getter/http_getter_types.ml @@ -32,10 +32,16 @@ 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 ls_flag = Yes | No | Ann +type encoding = [ `Normal | `Gzipped ] +type answer_format = [ `Text | `Xml ] +type ls_flag = No | Yes | Ann type ls_object = { uri: string;