title: How to do http post using apache httpclient with web authentication?
body: <p>I have searched a LOT for this and could not find a decent solution. The one using credentials provider is bad as it make double the amount of calls opposed to what is required i.e. it fires the request , gets a 401 and only then fires the request with the web auth credentials.</p>
  
  <p>Anyone who has used android's httpclient library to do http post requests to a URL behind web auth successfully?? </p>