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

Re: Get a web page with open-uri

by 7stud ---2 :: Rate this Message:

Reply to Author | View in Thread

> 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
--
Posted via http://www.ruby-forum.com/.

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