]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/ocaml-http/http_parser.mli
- implemented heal_header that sanity checks an header
[helm.git] / helm / DEVEL / ocaml-http / http_parser.mli
index 6ccc675266bd4caa74befb2928cb4c0261004ec1..76f1021724c2405df9c3194259788713b2763ff0 100644 (file)
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *)
 
-exception Malformed_query of string
-exception Malformed_query_part of string * string
-exception Unsupported_method of string
-exception Unsupported_HTTP_version of string
-exception Malformed_request_URI of string
-exception Malformed_request of string
+val is_http_field_name: string -> bool
+val is_http_field_value: string -> bool
+val heal_header: string * string -> unit
 
 val parse_request: in_channel -> string * (string * string) list
+