caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jean-David <merdoq@yahoo.com>
To: caml-list@yquem.inria.fr
Subject: Netclient
Date: Mon, 13 Mar 2006 00:03:25 -0800 (PST)	[thread overview]
Message-ID: <20060313080325.40774.qmail@web38209.mail.mud.yahoo.com> (raw)
In-Reply-To: <20060312110003.86F9EBBE1@yquem.inria.fr>

Hello there,
I was wondering about the best way to create a stream
from a remote file for which I have the URL

open Http_client
open Stream

let body = Stream.of_string Convenience.http_get
"http://dfl.sjsu.edu";;

Is the content of body downloaded completely before
being streamed(which defeats the purpose of streams)
or not? and if not how can I get the content of an URL
gradually (without getting the whole body into
memory)?

Thank you,
JD

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


       reply	other threads:[~2006-03-13  8:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20060312110003.86F9EBBE1@yquem.inria.fr>
2006-03-13  8:03 ` Jean-David [this message]
2006-03-13 12:38   ` [Caml-list] Netclient Gerd Stolpmann
2006-03-13 12:43     ` Gerd Stolpmann
2006-03-14  5:47     ` Jean-David

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060313080325.40774.qmail@web38209.mail.mud.yahoo.com \
    --to=merdoq@yahoo.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=jean-david@GameBox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).