[Mono-bugs] [Bug 80527][Nor] Changed - HttpListener: 'Content-Length' is optional in request header

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Feb 14 12:18:05 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/80527	2007-01-17 16:52:53.000000000 -0500
+++ shadow/80527.tmp.12073	2007-02-14 12:18:05.000000000 -0500
@@ -24,6 +24,14 @@
 See for reference:
 ------- Additional Comments From steveb at mindtouch.com  2007-01-17 16:52 -------
 Related bug in MindTouch Dream:
+------- Additional Comments From steveb at mindtouch.com  2007-02-14 12:18 -------
+POST http method _requires_ the Content-Length header.  So, if no body
+is provided, it must be '0'.  However, for all other http methods
+(e.g. GET, PUT, DELETE, ...), the absence of this header indicates
+that their is no body, but the request is still well formed.

More information about the mono-bugs mailing list