]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/getter/clientHTTP.ml
use ocaml-http instead of netclient for http GET requests
[helm.git] / helm / ocaml / getter / clientHTTP.ml
index 2444bded35afc1eab918c5a118b477f4a8be5bd4..fc319e5834fc6d2755e12d7ac3b18d09a8a914e1 100644 (file)
@@ -27,14 +27,14 @@ exception HttpClientError of exn * string;;
 
 let send cmd =
  try
-  ignore (Http_client.Convenience.http_get cmd)
+  ignore (Http_client.http_get cmd)
  with
   e -> raise (HttpClientError (e,cmd))
 ;;
 
 let get uri =
  try
-  Http_client.Convenience.http_get uri
+  Http_client.http_get uri
  with
   e -> raise (HttpClientError (e,uri))
 ;;