注意:这是在Silverlight 1.1 Alpha中粗略测试的结果,如有错误,欢迎指正!
Alpha还是Alpha,连HttpWebRequest都这么不成熟,最常用的timeout属性居然既不能设置也不能更改,实在是郁闷!花了点时间,把所有的属性的读和写都测试了一遍。
能写的属性如下(其中被注释的表示不能写):
…request.Accept = “text/*”;
//request.Address.ToString(); readonly
//request.AllowAutoRedirect = true;
//request.AllowWriteStreamBuffering = true;
//request.AutomaticDecompression
request.Connection = “Close”;
request.ContentLength = 256;
request.ContentType



…

