From: "Hal E. Fulton" Date: 2003-06-06T03:25:48+09:00 Subject: Re: Ruby 1.8.0 net/http bug ----- Original Message ----- From: "Ian Macdonald" To: "ruby-talk ML" 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