X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Focaml-http%2Fexamples%2Falways_ok_daemon.ml;h=492be655aaa62f6a2045a9bd6a0495ef3fe9c9a5;hb=3c7ca719c304eb7de7d8d4e9a90ebe0db8d8ecab;hp=48b5fd4bbc8daa7798a274074b100368955af492;hpb=697d0d8857366485238a67386d0ce8f18404ac42;p=helm.git diff --git a/helm/DEVEL/ocaml-http/examples/always_ok_daemon.ml b/helm/DEVEL/ocaml-http/examples/always_ok_daemon.ml index 48b5fd4bb..492be655a 100644 --- a/helm/DEVEL/ocaml-http/examples/always_ok_daemon.ml +++ b/helm/DEVEL/ocaml-http/examples/always_ok_daemon.ml @@ -20,7 +20,6 @@ *) open Http_daemon;; -open Http_response;; (* start an http daemon that alway respond with a 200 status code and an empty content *) -start ~port:9999 (fun _ _ -> respond_with (new Http_response.response)) +start ~port:9999 (fun _ _ outchan -> respond outchan)