Comment 12 for bug 590925

Revision history for this message
Clint Baxley (cbaxley) wrote :

Yea. I just spent all morning on this not having the piping thing. I had to use
-q-1

printf 'GET / HTTP/1.0\n\n' | nc -q-1 example.com 80

The same with the following:
nc example.com 80 <<request
GET / HTTP/1.0

request