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 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id BE36EBC37 for ; Thu, 16 Jul 2009 03:09:34 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAMcaXkrOe3NG/2dsb2JhbADSE4QLBQ X-IronPort-AV: E=Sophos;i="4.42,407,1243807200"; d="scan'208";a="29859980" Received: from spoomusic.com ([206.123.115.70]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 16 Jul 2009 03:09:34 +0200 Received: (qmail 28935 invoked by uid 89); 16 Jul 2009 01:09:32 -0000 Received: from localhost (127.0.0.1) by 0 with ESMTPS (DHE-RSA-AES256-SHA encrypted); 16 Jul 2009 01:09:32 -0000 Date: Wed, 15 Jul 2009 18:09:32 -0700 (MST) From: Dave Benjamin X-X-Sender: ramen@spoomusic.com To: caml-list@inria.fr Cc: mykola.stryebkov@gmail.com Subject: Re: netclient-ssl Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam: no; 0.00; gerd:01 read-only:01 curl:98 phoenix:98 sourceforge:01 caml-list:01 caml-list:01 benjamin:01 benjamin:01 caml:02 caml:02 groups:02 inria:06 probably:07 anybody:07 Hi Mykola, > Does anybody can show an example of using Gerd Stolpman's netclient- > ssl? I'm especially interested in performing https call. I think you posted this to fa.caml using Google Groups. Unfortunately, fa.caml is (or should be) a read-only copy of the messages on the caml-list mailing list. I have copied this to the list so that others may respond. You may wish to sign up to continue this conversation: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list To answer your question, I don't think it is very easy to do HTTPS using netclient-ssl - you have to write your own version of the HTTP protocol because Ocamlnet's HTTP and SSL support are not compatible with each other. You will probably have a much easier time using Curl: http://sourceforge.net/projects/ocurl/ Good luck, Dave -- .. Dave Benjamin - Software Developer - Phoenix, Arizona .. http://ramenlabs.com | http://twitter.com/ramenlabs