title: How to print/log an Apache HttpClient request query string
body: <p>Is it possible to get hold of the actual query string that will be used for a HttpClient request (HttpPost, HttpGet etc.) either prior to or after calling <code>client.execute(request)</code>?</p>
  
  <p>I'd like to do this because my request is failing and I want to debug the actual query string that's being used (it's an S3 file upload using HttpPost, so the parameters are complex).</p>