title: How to get original requests in Alamofire 5?
body: <p>I made a wrapper for Alamofire which makes the data request first and then it prints the details of original <code>URLRequest</code>.</p>
  
  <pre><code>let dataRequest = session.request(url, method: .get, parameters: parameters)
  let originalRequest = dataRequest.request
  // Now print somehow the details of original request.
  </code></pre>
  
  <p>It worked fine on Alamofire 4.9, but it stopped in the newest 5.0 version. The problem is that <code>dataRequest.request</code> is nil. Why this behavior has changed? How can I access <code>URLRequest</code> underneath <code>DataRequest</code>?</p>