Getting proxy information from NSURLSessionDownloadTask

Hi,

we have observed in BigSur that if proxy-server fails which is provided in system settings then NSURLSessionDownloadTask falls back to go direct.

So is there a way to find whether NSURLSessionDownloadTask response has come through proxy or direct. ?
Getting proxy information from NSURLSessionDownloadTask
 
 
Q