             }
 
             // execute callback
-            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
+            let dataResponse = RestResponse(response: response, data: data, result: result)
             completionHandler(dataResponse)
         }
     }

            guard error == nil else {
                // swiftlint:disable:next force_unwrapping
                let result = RestResult<String>.failure(error!)
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                completionHandler(dataResponse)
                return
            }

            // ensure data is not nil
            guard let data = data else {
                let result = RestResult<T>.failure(RestError.noData)
                let dataResponse = RestResponse(response: response, data: nil, result: result)
                completionHandler(dataResponse)
                return
            }
