Quantcast
Channel: Questions in topic: "webrequest"
Viewing all articles
Browse latest Browse all 387

Get redirection URL from UnityWebRequest

$
0
0
I am issuing a UnityWebRequest with a URL that has redirection involved. The redirection is being logged as a warning by the compiler. Is there any way of accessing that redirection URL? I've tried the method of using ResponseHeaders["Location"]. That does not work as the Response Headers don't have such a field. Can someone help me log that warning URL? I don't want to write a dump of the console into a file and parse it from there. Is there a cleaner approach? TIA

Viewing all articles
Browse latest Browse all 387

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>