2010-05-06 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Fri, 7 May 2010 23:03:27 +0000 (23:03 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Fri, 7 May 2010 23:03:27 +0000 (23:03 -0000)
* HttpServerUtility.cs: added TransferRequest methods.

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

mcs/class/System.Web/System.Web/ChangeLog
mcs/class/System.Web/System.Web/HttpServerUtility.cs

index 211d234c52a41b3196790fe6ab6a49557c42b8c0..f3e4f1d53501d6c673a04a0ff4d6a002ee2bc590 100644 (file)
@@ -1,5 +1,7 @@
 2010-05-06  Marek Habersack  <mhabersack@novell.com>
 
+       * HttpServerUtility.cs: added TransferRequest methods.
+
        * HttpRuntime.cs: added AspClientScriptPhysicalPath,
        AspClientScriptVirtualPath, UsingIntegratedPipeline properties and
        the GetNamedPermissionSet method.
index 60d310d9350e2c152fb88a166860f56d37bd6cc7..a5e8ff265dfdd4c17d0d6c63de6bedca627c8bd6 100644 (file)
@@ -8,7 +8,7 @@
 //
 
 //
-// Copyright (C) 2005-2009 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2005-2010 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
@@ -223,6 +223,23 @@ namespace System.Web
                        return context.Request.MapPath (path);
                }
 
+               
+               public void TransferRequest (string path)
+               {
+                       TransferRequest (path, false, null, null);
+               }
+               
+               public void TransferRequest (string path, bool preserveForm)
+               {
+                       TransferRequest (path, preserveForm, null, null);
+               }
+
+               [MonoTODO ("Always throws PlatformNotSupportedException.")]
+               public void TransferRequest (string path, bool preserveForm, string method, NameValueCollection headers)
+               {
+                       throw new PlatformNotSupportedException ();
+               }
+               
                public void Transfer (string path)
                {
                        Transfer (path, true);