摘要:
正常情况下,处理https和http没有什么区别,如以下代码,显示了https://www.softlayer.com/的内容string url = “https://www.softlayer.com/”; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); string encoding = response.ContentEncoding; if (encoding == nu 阅读全文