HTTP.get returns String??

H

Hal Fulton

This is returning a String for me -- I thought it returned
an HTTPResponse object?

This is ruby 1.8.6 (2007-03-13 patchlevel 0) [x86_64-linux]


Thanks,
Hal
 
H

Hal Fulton

Hal said:
This is returning a String for me -- I thought it returned
an HTTPResponse object?

This is ruby 1.8.6 (2007-03-13 patchlevel 0) [x86_64-linux]

Never mind, I figured it out... or Aria told me in xchat.

The class method returns a string -- the instance method on
the object returned by #start gives the fancy object.


Hal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,772
Messages
2,569,589
Members
45,100
Latest member
MelodeeFaj
Top