<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/11/72e6270c997e9f25054806409b1e1762"
  from="Eric C. Cooper &lt;ecc@c...&gt;"
  author="Eric C. Cooper"
  date="2003-11-11T14:20:12"
  subject="Re: [Caml-list] access to the internet"
  prev="2003/11/a642417b7560adc7bbe5629a8c00af3a"
  next="2003/11/fcbf42708ad0d737e60ce7569d4ac60e"
  prev-in-thread="2003/11/fd3a18e2126bc42ed73c26461de1220f"
  prev-thread="2003/11/c950cf7764ddb8e256d4f95c9c48ff10"
  next-thread="2003/11/6c7eeee8f6105aa3a5ef377169475e2c"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] access to the internet">
<msg 
  url="2003/11/aec9ff3da1a5c8e937e938441c778914"
  from="Pierre LAFFITTE &lt;pierre.laffitte@w...&gt;"
  author="Pierre LAFFITTE"
  date="2003-11-10T17:56:27"
  subject="[Caml-list] access to the internet">
<msg 
  url="2003/11/4072f8a022bcb9a3074d03fa6da4801f"
  from="Sven Luther &lt;sven.luther@w...&gt;"
  author="Sven Luther"
  date="2003-11-11T09:21:27"
  subject="Re: [Caml-list] access to the internet">
<msg 
  url="2003/11/6c91b37d183b7f7b53c4592b0f4eada4"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2003-11-11T09:39:57"
  subject="Re: [Caml-list] access to the internet">
<msg 
  url="2003/11/a642417b7560adc7bbe5629a8c00af3a"
  from="Artem Prisyznuk &lt;tema@s...&gt;"
  author="Artem Prisyznuk"
  date="2003-11-11T10:20:49"
  subject="Re: [Caml-list] access to the internet">
<msg 
  url="2003/11/fd3a18e2126bc42ed73c26461de1220f"
  from="Christophe TROESTLER &lt;debian00@t...&gt;"
  author="Christophe TROESTLER"
  date="2003-11-11T18:11:44"
  subject="Re: [Caml-list] access to the internet">
</msg>
</msg>
<msg 
  url="2003/11/72e6270c997e9f25054806409b1e1762"
  from="Eric C. Cooper &lt;ecc@c...&gt;"
  author="Eric C. Cooper"
  date="2003-11-11T14:20:12"
  subject="Re: [Caml-list] access to the internet">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
On Tue, Nov 11, 2003 at 09:39:54AM +0000, Richard Jones wrote:
&gt; On Tue, Nov 11, 2003 at 10:21:26AM +0100, Sven Luther wrote:
&gt; &gt; I agree that a full url-reading module would be a good addition to the
&gt; &gt; ocaml library though, java has it for example.
&gt; 
&gt; Actually there are two (at least) ways of doing this:
&gt; 
&gt; http://sourceforge.net/projects/ocurl/
&gt; 
&gt; which is an OCaml wrapper around the Curl library.
&gt; 
&gt; Or, you could use some Perl-fu with:
&gt; 
&gt; http://www.merjis.com/developers/perl4caml/

I use a very simple Curl wrapper.  Rather than exposing all the
knobs that libcurl has, it just exports simple get and post
functions:
    exception Error of string
    val get : string -&gt; string
    val post : url:string -&gt; data:string -&gt; string
    val form : string -&gt; (string * string) list -&gt; string

Contact me if you want a copy.

-- 
Eric C. Cooper          e c c @ c m u . e d u

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

