- Get an error when use ruby to send hand coded http request
- socket = TCPSocket.open('localhost',4567)
- request = "GET / HTTP/1.1rnHost:localhostrnrn"
- socket.print request
- [2012-08-01 14:04:11] ERROR bad Request-Line `'.
- ec2-184-169-164-27.us-west-1.compute.amazonaws.com - - [01/Aug/2012:14:04:11 UTC] "" 400 313
- - ->