Hello community, I am trying to learn UnityWebRequest usage. I am wondering how do I check the http request Host header. Right now I have this:
string testUrl = "https://www.google.com/";
UnityWebRequest request = UnityWebRequest.Get(testUrl);
Debug.Log($"Request Created: {request.GetRequestHeader("Host")}");
This only logs an empty string to the console. Could someone points me to where I am doing wrong? Thanks