I'm new to looking at the whole Web side of .net, and I've run into a slight issue.
I'm trying to do a HttpWebRequest as below:
String uri = "https://skyid.sky.com/signup/";
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri);
request.UserAgent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)";
request.Method = "GET";
request.GetResponse();
Where the uri is pointing to a HTTPS site. But once I look at this in Fiddler, it has removed my UserAgent and only shows Host and Connection: Keep-Alive.
CONNECT skyid.sky.com:443 HTTP/1.1
Host: skyid.sky.com
Connection: Keep-Alive
Is this normal with HTTPS or am I simply missing something? Maybe I'm even missing something in Fiddler that it's not showing this to me.
Any help will be appreciated, thanks all!