]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/ocaml-http/http_request.ml
- added exceptions Invalid_header_{name,value}
[helm.git] / helm / DEVEL / ocaml-http / http_request.ml
index c95d198469a82485b1dd2b83cf5c8310cac2010e..4eec70279267664de63821dcda4592e87b38350c 100644 (file)
@@ -20,8 +20,7 @@
 *)
 
 open Http_common;;
-
-exception Param_not_found of string
+open Http_types;;
 
 class request ~path ~params =
   object (self)
@@ -39,7 +38,7 @@ class request ~path ~params =
         Hashtbl.find params_tbl name
       with Not_found ->
         raise (Param_not_found name)
-    method param_all name = List.rev (Hashtbl.find_all params_tbl name)
+    method paramAll name = List.rev (Hashtbl.find_all params_tbl name)
     method params = params
   end