From 770bf4189e7bf6edb6d7addff7cd65c1b66c9602 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Tue, 3 Dec 2002 21:26:49 +0000 Subject: [PATCH] added Http_constants module --- helm/DEVEL/ocaml-http/Makefile | 4 +++- helm/DEVEL/ocaml-http/http_constants.ml | 4 ++++ helm/DEVEL/ocaml-http/http_constants.mli | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 helm/DEVEL/ocaml-http/http_constants.ml create mode 100644 helm/DEVEL/ocaml-http/http_constants.mli diff --git a/helm/DEVEL/ocaml-http/Makefile b/helm/DEVEL/ocaml-http/Makefile index abd1a22d1..fd1f2fc63 100644 --- a/helm/DEVEL/ocaml-http/Makefile +++ b/helm/DEVEL/ocaml-http/Makefile @@ -1,6 +1,8 @@ include Makefile.defs -MODULES = http_common http_misc http_types http_request http_parser http_tcp_server http_daemon http_response +MODULES = \ + http_types http_constants http_misc http_tcp_server http_common \ + http_request http_parser http_daemon http_response THREADED_SRV = http_threaded_tcp_server MODULES_MT = $(patsubst http_tcp_server, mt/$(THREADED_SRV) http_tcp_server, $(MODULES)) MODULES_NON_MT = $(patsubst http_tcp_server, non_mt/$(THREADED_SRV) http_tcp_server, $(MODULES)) diff --git a/helm/DEVEL/ocaml-http/http_constants.ml b/helm/DEVEL/ocaml-http/http_constants.ml new file mode 100644 index 000000000..6ad156c13 --- /dev/null +++ b/helm/DEVEL/ocaml-http/http_constants.ml @@ -0,0 +1,4 @@ +let version = `HTTP_1_1;; +let server_string = "OCaml HTTP Daemon";; +let crlf = "\r\n" + diff --git a/helm/DEVEL/ocaml-http/http_constants.mli b/helm/DEVEL/ocaml-http/http_constants.mli new file mode 100644 index 000000000..aeaa9a57a --- /dev/null +++ b/helm/DEVEL/ocaml-http/http_constants.mli @@ -0,0 +1,3 @@ +val version: Http_types.version +val server_string: string +val crlf: string -- 2.39.2