2009-07-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 30 Jul 2009 21:20:30 +0000 (21:20 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 30 Jul 2009 21:20:30 +0000 (21:20 -0000)
* HttpResponseWrapper.cs: removed a few TODO/NotImplemented.
Fixes bug #526297.

svn path=/trunk/mcs/; revision=139122

mcs/class/System.Web.Abstractions/System.Web/ChangeLog
mcs/class/System.Web.Abstractions/System.Web/HttpResponseWrapper.cs

index 0956e3275eb94434ac212e5dcbea8bb409262797..5988165d20d271a72155bea1527fc8d30e4546fb 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * HttpResponseWrapper.cs: removed a few TODO/NotImplemented.
+       Fixes bug #526297.
+
 2009-06-16  Marek Habersack  <mhabersack@novell.com>
 
        * Decorated all classes with the TypeForwardedFrom attribute for
index 88a7b2ce833ad1fa9da95bbd8db02029d553ea55..b1965987fd0d9219339272ae4089982eceb8d5fa 100644 (file)
@@ -116,10 +116,8 @@ namespace System.Web
                        set { w.HeaderEncoding = value; }
                }
 
-               [MonoTODO]
                public override NameValueCollection Headers {
-                       //get { return w.Headers; }
-                       get { throw new NotImplementedException (); }
+                       get { return w.Headers; }
                }
 
                public override bool IsClientConnected {
@@ -158,12 +156,9 @@ namespace System.Web
                        set { w.StatusDescription = value; }
                }
 
-               [MonoTODO]
                public override int SubStatusCode {
-                       //get { return w.SubStatusCode; }
-                       //set { w.SubStatusCode = value; }
-                       get { throw new NotImplementedException (); }
-                       set { throw new NotImplementedException (); }
+                       get { return w.SubStatusCode; }
+                       set { w.SubStatusCode = value; }
                }
 
                public override bool SuppressContent {
@@ -171,12 +166,9 @@ namespace System.Web
                        set { w.SuppressContent = value; }
                }
 
-               [MonoTODO]
                public override bool TrySkipIisCustomErrors {
-                       //get { return w.TrySkipIisCustomErrors; }
-                       //set { w.TrySkipIisCustomErrors = value; }
-                       get { throw new NotImplementedException (); }
-                       set { throw new NotImplementedException (); }
+                       get { return w.TrySkipIisCustomErrors; }
+                       set { w.TrySkipIisCustomErrors = value; }
                }
 
                public override void AddCacheDependency (params CacheDependency [] dependencies)
@@ -264,11 +256,9 @@ namespace System.Web
                        w.Close ();
                }
 
-               [MonoTODO]
                public override void DisableKernelCache ()
                {
-                       // w.DisableKernelCache ();
-                       throw new NotImplementedException ();
+                        w.DisableKernelCache ();
                }
 
                public override void End ()
@@ -296,11 +286,10 @@ namespace System.Web
                        w.Redirect (url, endResponse);
                }
 
-               [MonoTODO]
                public override void RemoveOutputCacheItem (string path)
                {
-                       // w.RemoveOutputCacheItem (path);
-                       throw new NotImplementedException ();
+                        //w.RemoveOutputCacheItem (path);
+                        throw new NotImplementedException ();
                }
 
                public override void SetCookie (HttpCookie cookie)