 }
 
 internal struct RestResponse<T> {
-    internal let request: URLRequest?
     internal let response: HTTPURLResponse?
     internal let data: Data?
     internal let result: RestResult<T>

            // ensure data is not nil
            guard let data = data else {
                let result = RestResult<String>.failure(RestError.noData)
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, 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
            }
