2 * Copyright (C) 2000, HELM Team.
4 * This file is part of HELM, an Hypertextual, Electronic
5 * Library of Mathematics, developed at the Computer Science
6 * Department, University of Bologna, Italy.
8 * HELM is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
13 * HELM is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with HELM; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
23 * For details, see the HELM World-Wide-Web page,
24 * http://cs.unibo.it/helm/.
27 exception Http_getter_bad_request of string
28 exception Http_getter_unresolvable_URI of string
29 exception Http_getter_invalid_URI of string
30 exception Http_getter_invalid_URL of string
31 exception Http_getter_invalid_RDF_class of string
32 exception Http_getter_internal_error of string
34 type http_getter_encoding = Enc_normal | Enc_gzipped
35 type http_getter_answer_format = Fmt_text | Fmt_xml
36 type http_getter_ls_flag = No | Yes | Ann
38 type http_getter_xml_uri =
41 type http_getter_rdf_uri = string * http_getter_xml_uri
42 type http_getter_uri =
43 | Xml_uri of http_getter_xml_uri
44 | Rdf_uri of http_getter_rdf_uri