title: HttpRequestBase - How to print the request with all its data
body: <p>I'm using HttpRequestBase and I want to log the request fully to a log file before using it.</p>
  
  <p>The default toString returns only the request line and I want to print all the headers, parameters, request body etc...</p>
  
  <p>Is there a way to do so?</p>