[Mono-bugs] [Bug 80504][Blo] New - HttpListener filters HTTP methods

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 11 20:31:44 EST 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by steveb at mindtouch.com.


--- shadow/80504	2007-01-11 20:31:44.000000000 -0500
+++ shadow/80504.tmp.4666	2007-01-11 20:31:44.000000000 -0500
@@ -0,0 +1,31 @@
+Bug#: 80504
+Product: Mono: Class Libraries
+Version: 1.2
+OS: Debian Woody
+OS Details: Debian Sarge (not in list)
+Status: NEW   
+Priority: Blocker
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: steveb at mindtouch.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: HttpListener filters HTTP methods
+In class mcs/class/System/System.Net/HttpListenerRequest.cs there is a
+static  array called 'methods' which is used to filter HTTP methods in
+requests and reject them if not found.
+Recommendation: DO NOT FILTER HTTP METHODS.  
+HTTP methods are extensible and HttpListener is a generic HTTP
+implementation.  While such a limitation might make sense for WebRequest,
+it is out of place for HttpListener.  With this limitation it's not
+possible to implement WebDAV or other HTTP-extensions.
+BTW, the bug was found by trying to send a DELETE request, which is
+standard even in HTTP (and required for REST web-services).

More information about the mono-bugs mailing list