title: telnet send a http request
body: <p>I am using telnet to send a http request , like this:</p>
  
  <pre><code>telnet&gt; open 192.168.4.135 8087
  Trying 192.168.4.135...
  Connected to 192.168.4.135.
  Escape character is '^]'.
  POST /rpc/ HTTP/1.1
  HOST:192.168.4.135:8087
  Content-length:18
  Content-type:application/x-http-form-urlencoded
  
  action=loadrsctype
  HTTP/1.1 200 OK
  Date: Thu, 17 May 2012 03:52:53 GMT
  Content-Length: 45
  Content-Type: text/html; charset=ISO-8859-1
  
  return=fail&amp;error=Configuration doesn't existHTTP/1.1 400 Bad Request
  Content-Type: text/html
  Connection: close
  Date: Thu, 17 May 2012 03:52:53 GMT
  Content-Length: 94
  
  &lt;HTML&gt;&lt;HEAD&gt;
  &lt;TITLE&gt;400 Bad Request&lt;/TITLE&gt;
  &lt;/HEAD&gt;&lt;BODY&gt;
  &lt;H1&gt;Bad Request&lt;/H1&gt;
  &lt;/BODY&gt;&lt;/HTML&gt;
  Connection closed by foreign host.
  </code></pre>
  
  <p>the response code is 200 , but why there is a paragraph like this :</p>
  
  <pre><code>HTTP/1.1 400 Bad Request
  Content-Type: text/html
  Connection: close
  Date: Thu, 17 May 2012 03:52:53 GMT
  Content-Length: 94
  
  &lt;HTML&gt;&lt;HEAD&gt;
  &lt;TITLE&gt;400 Bad Request&lt;/TITLE&gt;
  &lt;/HEAD&gt;&lt;BODY&gt;
  &lt;H1&gt;Bad Request&lt;/H1&gt;
  &lt;/BODY&gt;&lt;/HTML&gt;
  </code></pre>
  
  <p>This is the output of the server or telnet itself ? How to avoid to show this ?</p>
  
  <p>--update--
  When i change "HTTP/1.1" to "http/1.1", i get the right response. 
  Now i wonder wheather this is requirement of protocol or related with the implementation of the server? </p>