X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fgetter%2Fhttp_getter_types.ml;h=172550652024f86dd1212b74879c37fc75d88102;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;hp=74ffe9fe1ee45eaae21f8e94fdc9998d693ef7aa;hpb=3af56c5a48f7cad33fd701e0061fe143e0e2a7c5;p=helm.git diff --git a/helm/ocaml/getter/http_getter_types.ml b/helm/ocaml/getter/http_getter_types.ml index 74ffe9fe1..172550652 100644 --- a/helm/ocaml/getter/http_getter_types.ml +++ b/helm/ocaml/getter/http_getter_types.ml @@ -34,9 +34,13 @@ 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 = {