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
↧