title: Not getting full http response in android
body: <p>I am try to get json  data from ulr .</p>
  
  <p>I am testing url in firefox poster add-on work fine ,getting full response .</p>
  
  <p>But in <strong>android not getting full http response .</strong></p>
  
  <p><strong>this my code</strong> </p>
  
  <pre><code>HttpClient client = new DefaultHttpClient();
  HttpConnectionParams.setConnectionTimeout(client.getParams(), 10000); // Timeout
                                                                          // Limit
  HttpResponse response;
  JSONObject json = new JSONObject();
  
  try {
      HttpPost post = new HttpPost(API.ALL_PROPERTY_BUY);
  
      /*
       * json.put("fId", fname); json.put("fId", lname);
       */
      StringEntity se = new StringEntity(json.toString());
      se.setContentType(new BasicHeader(HTTP.CONTENT_TYPE,"application/json"));
      post.setEntity(se);
      response = client.execute(post);
  
      /* Checking response */
      if (response != null) {
          InputStream in = response.getEntity().getContent(); // Get the
                                                              // data in
                                                              // the
                                                              // entity
          // System.out.println("Response is:"+ in.toString());
          InputStreamReader isr = new InputStreamReader(in);
          BufferedReader br = new BufferedReader(isr);
  
          String s = new String();
          temps = new String();
          while ((s = br.readLine()) != null) {
              System.out.println("response is :" + s);
  
          }
  
  
  
      }
  
  
  } catch (Exception e) {
      e.printStackTrace();
  
  }
  </code></pre>
  
  <p>I am also search from google and try code but not solve my problem.</p>
  
  <p>please any one help me. </p>