// Atsushi Enomoto <atsushi@ximian.com>
// Jb Evain <jbevain@novell.com>
//
-// Copyright (C) 2007, 2009 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2007, 2009-2010 Novell, Inc (http://www.novell.com)
//
//
// note: the NotImplementedException are needed to match MS implementation
// note: MS documents a lot of thing for this type but, in truth, all happens
- // in a type that derive from HttpWebRequest. In Moonlight case this is
- // BrowserHttpWebRequest and is located in System.Windows.Browser.dll
+ // in a type that derive from HttpWebRequest. In Moonlight case this is either
+ // * BrowserHttpWebRequest (browser stack) located in System.Windows.Browser.dll; or
+ // * System.Net.Browser.ClientHttpWebRequest (client stack) located in System.Windows.dll
public abstract class HttpWebRequest : WebRequest {
set { throw NotImplemented (); }
}
+ // new in SL4 RC
+ public virtual bool AllowWriteStreamBuffering {
+ get { throw NotImplemented (); }
+ set { throw NotImplemented (); }
+ }
+
public override string ContentType {
get { return Headers [HttpRequestHeader.ContentType]; }
// this header cannot be set directly inside the collection (hence the helper)
}
}
- public CookieContainer CookieContainer {
- get;
- set;
+ public virtual CookieContainer CookieContainer {
+ get { throw NotImplemented (); }
+ set { throw NotImplemented (); }
}
public override string Method {
get { throw NotImplemented (); }
}
+ // new in SL4 RC
+ public virtual bool SupportsCookieContainer {
+ get { return false; }
+ }
public override void Abort ()
{