From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 06A43BB84 for ; Tue, 3 Jun 2008 00:25:04 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkoAAKQPREjU4368mmdsb2JhbACBVZAuAQEBAQEIBQgHEQOcVwE X-IronPort-AV: E=Sophos;i="4.27,579,1204498800"; d="scan'208";a="13115615" Received: from moutng.kundenserver.de ([212.227.126.188]) by mail1-smtp-roc.national.inria.fr with ESMTP; 03 Jun 2008 00:25:03 +0200 Received: from gate.lan.gerd-stolpmann.de (dslb-084-059-099-053.pools.arcor-ip.net [84.59.99.53]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1K3ISb0CRP-0001PF; Tue, 03 Jun 2008 00:25:01 +0200 Received: from [192.168.0.32] (fw.lan.gerd-stolpmann.de [192.168.1.1]) by gate.lan.gerd-stolpmann.de (Postfix) with ESMTP id BEC98C08A; Tue, 3 Jun 2008 00:25:00 +0200 (CEST) Subject: Re: [Caml-list] HTTP Client for OCaml From: Gerd Stolpmann To: Robert Fischer Cc: caml-list@yquem.inria.fr In-Reply-To: <484454A0.5010406@smokejumperit.com> References: <484454A0.5010406@smokejumperit.com> Content-Type: text/plain Date: Tue, 03 Jun 2008 00:26:24 +0200 Message-Id: <1212445584.4435.7.camel@flake.lan.gerd-stolpmann.de> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/jzsyJ+1qvo9jSByTI4+Q3gHKBElN1kMBNqSg BWrxIVgbdHpWPckfnC7hw5Un1S5GPy+4t2sWSV8yAJMjwIxO1I Qo3eKZO3jmPqy9Kyx4fa7btUIib6kv7 X-Spam: no; 0.00; ocaml:01 gerd:01 stolpmann:01 ocamlnet:01 ocamlnet:01 assertion:01 gerd:01 stolpmann:01 viktoriastr:01 64293:01 darmstadt:01 6151:01 6151:01 caml-list:01 implemented:02 Am Montag, den 02.06.2008, 15:14 -0500 schrieb Robert Fischer: > Is there an HTTP client which can 1) do HTTP authentication and 2) report on status codes? > > I've tried both libcurl and ocamlnet, and encountered serious problems in both -- libcurl reports > that CURLINFO_RESPONSE_CODE isn't implemented, and ocamlnet throws steaming assertion death if > authentication fails. So I'm looking for a new option. For example, fixing the errors? I could do that for ocamlnet, given I have a description of the error case. Gerd -- ------------------------------------------------------------ Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de Phone: +49-6151-153855 Fax: +49-6151-997714 ------------------------------------------------------------