X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Focaml-http%2Fhttp_parser.mli;h=4e70c35e4ddb2a06db85534f8b19c12a8086fdcd;hb=0f382df0cc4acc752dd55220bdbdd72dbfe695a5;hp=76f1021724c2405df9c3194259788713b2763ff0;hpb=db0eab65e607d5f499a6f5455d7fcd4130d0b727;p=helm.git diff --git a/helm/DEVEL/ocaml-http/http_parser.mli b/helm/DEVEL/ocaml-http/http_parser.mli index 76f102172..4e70c35e4 100644 --- a/helm/DEVEL/ocaml-http/http_parser.mli +++ b/helm/DEVEL/ocaml-http/http_parser.mli @@ -19,9 +19,16 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *) -val is_http_field_name: string -> bool -val is_http_field_value: string -> bool +val heal_header_name: string -> unit +val heal_header_value: string -> unit val heal_header: string * string -> unit + (** given an input channel, reads from it a GET HTTP request and + @return a pair where path is a string representing the + requested path and query_params is a list of pairs (the GET + parameters) *) val parse_request: in_channel -> string * (string * string) list + (** as above, but return an Http_types.request instance *) +val parse_request': in_channel -> Http_types.request +