Closed koriroys closed 6 years ago
body=<<-HELLO.gsub("\n", "\r\n") # => GET /graphiql HTTP/1.1 Host: localhost:3000 Connection: keep-alive Cache-Control: max-age=0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 Upgrade-Insecure-Requests: 1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9,es;q=0.8,fr;q=0.7 HELLO body # =>
When run, it wipes the body of the program
(Ruby 2.2.4)
When run, it wipes the body of the program