postmates/PMHTTP

metricsCallback should expose the URLSessionTask

lilyball opened this issue · 0 comments

The metricsCallback provides the HTTPManagerTask and the URLSessionMetrics. The issue arises when a task automatically retries, as by the time the callback runs the task.networkTask may no longer be the URLSessionTask that the metrics applied to.