title: Android-Async-Http Library post error?
body: <p>I am currently using <a href="https://github.com/loopj/android-async-http" rel="nofollow">android-async-http</a> library to send a post/get requests. I didn't have any problem before but now i realize that it gives me timeout error if i send this request without image data. (There is no error if i send exact same request by putting image data as well.)</p>
  
  <pre><code>RequestParams params = new RequestParams();
  params.add("mail", mail.getText().toString());
  params.add("password", pass.getText().toString());
  
  try {
  if (!TextUtils.isEmpty(imagePath))
      params.put("image", new File(imagePath));
  } catch (FileNotFoundException e) {
      e.printStackTrace();
  }
  
  AsyncHttpClient client = new AsyncHttpClient();
  client.setTimeout(60000);
  client.post("some_url", params, myResponseHandler);
  </code></pre>
  
  <p>What is the reason of this? 
  Thanks in advance.</p>