]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/ocaml-http/examples/always_ok_daemon.ml
no longer use -pack and Http.*, now interface is the usual Http_*
[helm.git] / helm / DEVEL / ocaml-http / examples / always_ok_daemon.ml
index 020d4f600cfb2269b4ce9fb97504654dadaedb47..aafe347e7f9850a8ffca2a3694b6073aab315878 100644 (file)
@@ -19,8 +19,8 @@
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *)
 
-open Http.Daemon;;
-open Http.Response;;
+open Http_daemon;;
+open Http_response;;
   (* start an http daemon that alway respond with a 200 status code and an empty
   content *)
-start (fun _ _ -> respond_with (new Http.Response.response))
+start (fun _ _ -> respond_with (new Http_response.response))