title: 400 ICAP Error for reqmod message
body: <p>I am getting the following error... "Error 400 Bad Request". for ICAP Reqmod message. Here's a snippet of the example ICAP client code..</p>
  
  <pre><code>request = "GET http://www.foobar.com HTTP/1.1\n\n";
  output.println("REQMOD icap://" + server + ":" + "1344" + "/"+ "REQMOD" + " " + "1.0" +"\r");
  output.println("Host:" + server + ":" + port + "\")
  output.println("Encapsulated: req-hdr=0, null-body=" + length);
  output.println("Preview: 0\r");
  output.println("Allow: 204\r");
  
  output.println("\r");
  output.print(request);
  output.println("\r");
  </code></pre>
  
  <p>Appreciate any help on this...this is a very simple ICAP client and i use the same format for sending ICAP options message and that works...for some reason REQMOD is getting rejected as bad request...</p>