From: "Volkmann, Mark" Date: 2002-10-08T02:33:52+09:00 Subject: reading from a URL This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C26E27.876E7C20 Content-Type: text/plain; charset="iso-8859-1" I need to read the content of an HTTP URL. I can break the URL up into server, port and path and use Net::HTTP to read it, but it seems like there should be an easier way. I'd really like to pass the URL string to a method of some class that would return an object from a class that inherits from IO. Does something like that exist? If not, is there an easier way than using Net::HTTP? *********************************************************************************** WARNING: All e-mail sent to and from this address will be received or otherwise recorded by the A.G. Edwards corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ************************************************************************************ ------_=_NextPart_001_01C26E27.876E7C20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable reading from a URL

I need to read the content of an HTTP URL.  I can br= eak the URL up into server, port and path and use Net::HTTP to read it, but= it seems like there should be an easier way.  I'd really like to pass= the URL string to a method of some class that would return an object from = a class that inherits from IO.  Does something like that exist?  = If not, is there an easier way than using Net::HTTP?



***************************************************************************= ********
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
***************************************************************************= *********
------_=_NextPart_001_01C26E27.876E7C20--