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.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 46992BB84 for ; Tue, 3 Jun 2008 00:34:11 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsAAAHISREjQccgFf2dsb2JhbACBVZAuAQELBQIGBxGcbQ X-IronPort-AV: E=Sophos;i="4.27,579,1204498800"; d="scan'208";a="13395785" Received: from lax-green-bigip-5.dreamhost.com (HELO looneymail-a3.g.dreamhost.com) ([208.113.200.5]) by mail3-smtp-sop.national.inria.fr with ESMTP; 03 Jun 2008 00:34:10 +0200 Received: from Smokejumper-MBP.local (c-24-131-140-165.hsd1.mn.comcast.net [24.131.140.165]) by looneymail-a3.g.dreamhost.com (Postfix) with ESMTP id 2E9C427E1E for ; Mon, 2 Jun 2008 15:34:08 -0700 (PDT) Message-ID: <4844755F.3050402@fischerventure.com> Date: Mon, 02 Jun 2008 17:34:07 -0500 From: Robert Fischer User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] HTTP Client for OCaml References: <484454A0.5010406@smokejumperit.com> <1212445584.4435.7.camel@flake.lan.gerd-stolpmann.de> In-Reply-To: <1212445584.4435.7.camel@flake.lan.gerd-stolpmann.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; ocaml:01 ocaml:01 gerd:01 off-list:01 gerd:01 stolpmann:01 ocamlnet:01 ocamlnet:01 assertion:01 pitch:98 wrote:01 caml-list:01 implemented:02 library:03 throws:05 Sure, we can take a swing at fixing the errors. It wouldn't have been the first time I started playing with an OCaml library and then discovered it was superseded, though, so I wanted to double-check. :) Gerd: I'll pitch you some example code off-list. Anyone else want in on that action? ~~ Robert. Gerd Stolpmann wrote: > 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