Author: jbevain
Date: 2007-10-17 11:23:27 -0400 (Wed, 17 Oct 2007)
New Revision: 87688

Added:
   
trunk/olive/class/System.Silverlight/System.Windows.Browser.Net/BrowserHttpWebResponse.cs
Modified:
   trunk/olive/class/System.Silverlight/System.Windows.Browser.Net/ChangeLog
Log:
2007-10-17  Jb Evain  <[EMAIL PROTECTED]>

        * BrowserHttpWebResponse.cs: stubbed out.



Added: 
trunk/olive/class/System.Silverlight/System.Windows.Browser.Net/BrowserHttpWebResponse.cs
===================================================================
--- 
trunk/olive/class/System.Silverlight/System.Windows.Browser.Net/BrowserHttpWebResponse.cs
   2007-10-17 15:21:24 UTC (rev 87687)
+++ 
trunk/olive/class/System.Silverlight/System.Windows.Browser.Net/BrowserHttpWebResponse.cs
   2007-10-17 15:23:27 UTC (rev 87688)
@@ -0,0 +1,125 @@
+//
+// System.Windows.Browser.Net.BrowserHttpWebResponse class
+//
+// Authors:
+//     Jb Evain  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_1
+
+using System;
+using System.Globalization;
+using System.IO;
+using System.Net;
+
+namespace System.Windows.Browser.Net
+{
+       class BrowserHttpWebResponse : HttpWebResponse
+       {
+               Stream response;
+
+               public BrowserHttpWebResponse (Stream response)
+               {
+                       this.response = response;
+               }
+
+               public override void Close ()
+               {
+                       response.Dispose ();
+               }
+
+               [MonoTODO]
+               public override string GetResponseHeader (string headerName)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public override Stream GetResponseStream ()
+               {
+                       return response;
+               }
+
+               [MonoTODO]
+               public override string CharacterSet {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public override string ContentEncoding {
+                       get {  throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public override long ContentLength {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public override string ContentType {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public override WebHeaderCollection Headers {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public override DateTime LastModified {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public override string Method {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public override Version ProtocolVersion {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public override Uri ResponseUri {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public override string Server {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public override HttpStatusCode StatusCode {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public override string StatusDescription {
+                       get { throw new NotImplementedException (); }
+               }
+       }
+}
+
+#endif

Modified: 
trunk/olive/class/System.Silverlight/System.Windows.Browser.Net/ChangeLog
===================================================================
--- trunk/olive/class/System.Silverlight/System.Windows.Browser.Net/ChangeLog   
2007-10-17 15:21:24 UTC (rev 87687)
+++ trunk/olive/class/System.Silverlight/System.Windows.Browser.Net/ChangeLog   
2007-10-17 15:23:27 UTC (rev 87688)
@@ -1,5 +1,9 @@
 2007-10-17  Jb Evain  <[EMAIL PROTECTED]>
 
+       * BrowserHttpWebResponse.cs: stubbed out.
+
+2007-10-17  Jb Evain  <[EMAIL PROTECTED]>
+
        * BrowserHttpWebRequest.cs: implement AddRange.
 
 2007-10-17  Jb Evain  <[EMAIL PROTECTED]>

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to