摘要: Uri uri = new Uri(url); IdnMapping idn = new IdnMapping();url= url.Replace(uri.Host, idn.GetAscii(uri.Host)); 阅读全文
posted @ 2017-08-21 16:10 公众号python学习开发 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 为了提高httpwebrequest的执行效率,查到了一些如下设置 request.ServicePoint.Expect100Continue = false; request.ServicePoint.UseNagleAlgorithm = false; request.ServicePoint.ConnectionLimit = 65500; reque... 阅读全文
posted @ 2017-08-21 15:37 公众号python学习开发 阅读(4048) 评论(0) 推荐(0) 编辑