Here\'s a simple example of using the library Cohttp:
open Lwt open Cohttp open Cohttp_lwt_unix let body = Client.get (Uri.of_string \"http://www.reddit.com/\
Try to compile it like this ...
ocamlfind ocamlopt -o my_test \ -linkpkg \ -package lwt,cohttp,cohttp-lwt-unix \ -thread my_test.ml