title: Why can't I get netcat talking to my Rails server?
body: <p>I have a Thin server running locally, serving a Rails app. Following an example in the netcat man page, I'm trying to use <code>nc</code> to talk to my server:</p>
  
  <pre><code>echo -n "GET / HTTP/1.1\r\n\r\n" | nc 0.0.0.0 3000
  </code></pre>
  
  <p>But I get a 400 response:</p>
  
  <pre><code>HTTP/1.1 400 Bad Request
  Content-Type: text/plain
  Connection: close
  Server: thin 1.6.1 codename Death Proof
  </code></pre>
  
  <p>What am I missing?</p>