Section: devel
Priority: optional
Maintainer: Stefano Zacchiroli <zack@debian.org>
-Build-Depends: debhelper (>> 4.0.0), ocaml-3.06, ocaml-findlib, libpcre-ocaml-dev-4.30.0, libocamlnet-ocaml-dev-0.94
-Standards-Version: 3.5.8
+Build-Depends: debhelper (>> 4.0.0), ocaml-nox (>= 3.09.0), ocaml-findlib (>= 1.1), libpcre-ocaml-dev (>= 5.10.1), libocamlnet-ocaml-dev (>= 1.1-7), cdbs
+Standards-Version: 3.6.2
Package: libhttp-ocaml-dev
Architecture: any
-Depends: ocaml-3.06, libpcre-ocaml-dev-4.30.0, libocamlnet-ocaml-dev-0.94
-Provides: libhttp-ocaml-dev-0.0.6
-Description: OCaml module to build simple HTTP servers
- OCaml module to build simple HTTP server, largely inspired to Perl's
+Depends: ocaml-nox-${F:OCamlABI}, libpcre-ocaml-dev (>= 5.10.1), libocamlnet-ocaml-dev (>= 1.1-7)
+Description: OCaml library for writing HTTP servers
+ OCaml HTTP is a library for the Objective Caml programming language,
+ used to build simple HTTP servers, largely inspired to Perl's
HTTP::Daemon module.
.
- Contains an Http.Daemon module which allow you to create simple HTTP
- servers, and a set of facility functions to handle HTTP request and
- responses.
+ In order to implement an HTTP servers the programmer has to provide a
+ daemon specification which contains, among other parameters, a callback
+ function invoked by OCaml HTTP on well formed HTTP requests received.
+ HTTP responses could be sent over an out_channel connected with client
+ socket, accessible from the callback.
.
- Contains also classes that enclose HTTP request and responses.
+ The library contains also facility functions that helps in creating
+ well formed HTTP responses and a tiny HTTP client.