From: why the lucky stiff Date: 2005-11-17T09:29:53+09:00 Subject: Re: HTTP IO?? Daniel Sheppard wrote: >>I am reading the stream from a Ogg stream server (VLC) in the >>local machine. >>This requires fast reading. >> >>Are there any other options in ruby to read a data stream via HTTP?? >> >> > >Now that I know I know your use-case, definitely use openuri instead. >The only situations where you can't use openuri is when you need finer >control over the headers (and the ability to read the response headers). >In your case, this doesn't seem to be a problem. > > You also can only do GET requests with OpenURI. The Net::HTTPIO class which has been discussed in this thread: it's pathetic. Yes, it works with MouseHole. But it's a horrible hack. I am sure it is buggy. A good man will one day come along and do it right. A man beloved by his children, his wife, his close colleagues and social affiliates. But most of all by me. Thankyou, future man, for all you do! _why