title: Jetty - 9 BAD REQUEST ERROR with Volley server
body: <p>I have upgraded my dropwizard to 0.8 that uses jetty -9 server. 
  I am using volley server 1.0.15 to send my JSON request from my app. 
  My problem is when I send any JSON from volley the api throws 400 while when I send same request from  postman it is working fine.</p>
  
  <blockquote>
    <p>WARN  [2015-05-08 14:16:18,223] org.eclipse.jetty.http.HttpParser: Illegal    character 0x16 in state=START for buffer HeapByteBuffer@642bbd0f[p=1,l=78,c=8192,r=77]={\x16&lt;&lt;&lt;\x03\x00\x00I\x01\x00\x00E\x03\x00\xBfE\x8e\x82\xCb\xE3\xCa...\x07\xC0\x11\x00/\x005\x00\x05\x00\xFfV\x00\x01\x00>>>-1\r\nContent-Lengt...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
    WARN  [2015-05-08 14:16:18,223] org.eclipse.jetty.http.HttpParser: badMessage: 400 Illegal character 0x16 for HttpChannelOverHttp@650d154b{r=0,c=false,a=IDLE,uri=-}</p>
  </blockquote>
  
  <p>and my code to make volley request</p>
  
  <pre><code>JSONObject userDetails = new JSONObject();
  userDetails.put("email", "tasneem");
  userDetails.put("password", "1234");
  userDetails.put("deviceId", "243243");
  userDetails.put("version", "4.4.4");
  userDetails.put("platform", "Android");
  JsonObjectRequest loginRequest = new JsonObjectRequest(Request.Method.POST,     Constants.URL_LOGIN, userDetails, new Response.Listener&lt;JSONObject&gt;() {
    @Override
    public void onResponse(JSONObject jsonObject) {
  
    }
  }, new Response.ErrorListener() {
    @Override
    public void onErrorResponse(VolleyError volleyError) {
      Log.e(TAG, volleyError.toString());
      mListener.onError(volleyError);
    }
  }) {
    @Override
    public Map&lt;String, String&gt; getHeaders() throws AuthFailureError {
      Map&lt;String, String&gt; headers = new HashMap&lt;String, String&gt;();
      headers.put("Content-Type", "application/json; charset=utf-8");
      return headers;
    }
  };
  </code></pre>
  
  <p>Really appreciate your help. Thanks.</p>
  
  <p>And can anyone tell me how to trace the complete request without creating custom volley request, is there any way?</p>