« Return to Thread: Get a web page with open-uri

Re: Get a web page with open-uri

by Andy P. :: Rate this Message:

Reply to Author | View in Thread

7stud -- wrote:
>> request = "GET #{path} GIF\r\n\r\n"
>>
>> It doesn't works : it returns :
>> "HTTP/1.1 400 Bad Request"
>>
>> How to do ?
>
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html

Yes it works, thanks all !
--
Posted via http://www.ruby-forum.com/.

 « Return to Thread: Get a web page with open-uri