title: How to get the raw response and URL from HttpResponseDecorator
body: <p>The <a href="http://groovy.codehaus.org/modules/http-builder/doc/rest.html" rel="noreferrer">REST Client</a> of <a href="http://groovy.codehaus.org/modules/http-builder/" rel="noreferrer">HTTP Builder</a> returns a <a href="http://groovy.codehaus.org/modules/http-builder/apidocs/groovyx/net/http/class-use/HttpResponseException.html" rel="noreferrer">HttpResponseDecorator</a>. How can I get the raw response out of it (for logging purposes)?</p>
  
  <p>EDIT (some code might be handy):</p>
  
  <pre><code>    withRest(uri: domainName) {
          def response = post(path: 'wsPath', query: [q:'test'])
          if (!response.success) {
              log.error "API call failed. HTTP status: $response.status"
              // I want to log raw response and URL constructed here
          }
  </code></pre>