----- Original Message ----- 
From: "Ian Macdonald" <ian / caliban.org>
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
Sent: Thursday, June 05, 2003 1:05 PM
Subject: Re: Ruby 1.8.0 net/http bug


> After:
> 
> resp, data = h.get('/index.html', nil)
> 
> try adding this line:
> 
> data = resp.data if data.nil?
> 
> That should make your code compatible with both versions of net/http.

Ah, that's a good idea.

Hal