title: HttpPost return a empty body
body: <p>I have the code below, and my problem is that the response.status is 200 (is ok) and my response body is empty and it should return a json response. Is the problem the length maybe?:`</p>
  
  <pre><code>    HttpPost post = new HttpPost("http://localhost:8080/rest/login");
      httpClient = HttpClients.createDefault();
  
      List&lt;NameValuePair&gt; formParams = new ArrayList&lt;NameValuePair&gt;();
      NameValuePair pair = new BasicNameValuePair("token",token);
      formParams.add(pair);
      UrlEncodedFormEntity entity = new UrlEncodedFormEntity(formParams);
      post.setEntity(entity);
  
  
      HttpResponse response = httpClient.execute(post);
      this.code = response.getStatusLine().getStatusCode();
      InputStream body = response.getEntity().getContent();
      BufferedReader rd = new BufferedReader(new InputStreamReader(response.getEntity().getContent()));`
  </code></pre>