]> matita.cs.unibo.it Git - helm.git/commitdiff
use ocaml-http instead of netclient for http GET requests
authorStefano Zacchiroli <zack@upsilon.cc>
Tue, 16 Dec 2003 17:37:58 +0000 (17:37 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Tue, 16 Dec 2003 17:37:58 +0000 (17:37 +0000)
helm/ocaml/getter/Makefile
helm/ocaml/getter/clientHTTP.ml

index 576b046191b0454c1dfa348c1a0fcd628df2c008..af3674f66042d64dc5901acf25458861f7d491c8 100644 (file)
@@ -1,5 +1,5 @@
 PACKAGE = getter
-REQUIRES = pxp netclient helm-urimanager
+REQUIRES = pxp helm-urimanager http
 PREDICATES =
 
 INTERFACE_FILES = configuration.mli clientHTTP.mli getter.mli
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))
 ;;