From 87ac29023be698256db43ae12b579bf7d7b7235b Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Tue, 3 Dec 2002 21:37:04 +0000 Subject: [PATCH] - moved exceptions here --- helm/DEVEL/ocaml-http/http_types.ml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/helm/DEVEL/ocaml-http/http_types.ml b/helm/DEVEL/ocaml-http/http_types.ml index f567c227b..011cbcb29 100644 --- a/helm/DEVEL/ocaml-http/http_types.ml +++ b/helm/DEVEL/ocaml-http/http_types.ml @@ -107,6 +107,23 @@ type status = | server_error_status ] +exception Invalid_header of string +exception Invalid_HTTP_version of string +exception Invalid_code of int +exception Invalid_status of Http_types.status + +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 + +exception Param_not_found of string + +exception Invalid_status_line of string +exception Header_not_found of string + class type response = object method version: version -- 2.39.2