title: android-async-http onProgress posting file doesn't work
body: <p>I uploaded a file to a PHP server using <a href="https://github.com/loopj/android-async-http" rel="nofollow noreferrer">android-async-http</a>:</p>
  
  <pre><code>AsyncHttpClient client = new AsyncHttpClient();
  AsyncHttpResponseHandler httpResponseHandler = createHTTPResponseHandler();
  File file =new File(filePath);
  RequestParams params = new RequestParams();
  params.put("data", file); 
  client.post(context, url, params, httpResponseHandler);   
  </code></pre>
  
  <p>This works fine WITH PROGRESS,</p>
  
  <p>But when I use these code to upload a file to a .NET server it 
  DOESN'T WORK, I solved it by putting a file in HttpEntity like this:</p>
  
  <pre><code>HttpEntity entity = new FileEntity(file, "multipart/form-data");
  client.post(context, url, entity, "multipart/form-data", httpResponseHandler);
  </code></pre>
  
  <p>It worked fine WITH NO PROGRESS, JUST ONE FLUSH.</p>
  
  <p>I need to show progress while is the file uploading.
  Thanks.</p>