]> matita.cs.unibo.it Git - helm.git/commitdiff
- added debugging print of request 1st line
authorStefano Zacchiroli <zack@upsilon.cc>
Thu, 9 Jan 2003 11:29:09 +0000 (11:29 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Thu, 9 Jan 2003 11:29:09 +0000 (11:29 +0000)
helm/DEVEL/ocaml-http/http_parser.ml

index d6a8ddfe077020ab82713e74df9efa60d0a9afad..52c84570c285fed86f4af115a83f226df65580b4 100644 (file)
@@ -97,6 +97,7 @@ let debug_dump_request path params =
 
 let parse_request_fst_line ic =
   let request_line = generic_input_line ~sep:crlf ~ic in
+  debug_print (sprintf "HTTP request line (not yet parsed): %s" request_line);
   match Pcre.split ~rex:pieces_sep request_line with
   | [ meth_raw; uri_raw; http_version_raw ] ->
       (try