Author: krasnov
Date: 2007-01-03 10:41:22 -0500 (Wed, 03 Jan 2007)
New Revision: 70424

Modified:
   trunk/mcs/class/System.Web/System.Web/ChangeLog
   trunk/mcs/class/System.Web/System.Web/HttpRequest.cs
Log:
* HttpRequest.cs: fixed jvm version of MakeInputStream, should not throw 
exception on zero content length

Modified: trunk/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web/ChangeLog     2007-01-03 14:46:13 UTC 
(rev 70423)
+++ trunk/mcs/class/System.Web/System.Web/ChangeLog     2007-01-03 15:41:22 UTC 
(rev 70424)
@@ -1,5 +1,10 @@
 2007-01-03  Vladimir Krasnov  <[EMAIL PROTECTED]>
 
+       * HttpRequest.cs: fixed jvm version of MakeInputStream, should not
+       throw exception on zero content length
+
+2007-01-03  Vladimir Krasnov  <[EMAIL PROTECTED]>
+
        * SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
 
 2006-12-20  Marek Habersack  <[EMAIL PROTECTED]>

Modified: trunk/mcs/class/System.Web/System.Web/HttpRequest.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpRequest.cs        2007-01-03 
14:46:13 UTC (rev 70423)
+++ trunk/mcs/class/System.Web/System.Web/HttpRequest.cs        2007-01-03 
15:41:22 UTC (rev 70424)
@@ -580,9 +580,6 @@
                        //
                        int content_length = ContentLength;
 
-                       if (content_length == 0 && HttpMethod == "POST")
-                               throw new HttpException (411, "Length 
expected");
-                       
 #if NET_2_0
                        HttpRuntimeSection config = (HttpRuntimeSection) 
WebConfigurationManager.GetSection ("system.web/httpRuntime");
 #else

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

Reply via email to