[Mono-bugs] [Bug 666251] New: HttpListener: Content-Length is required for all webdav verbs

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 21 13:54:19 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=666251

https://bugzilla.novell.com/show_bug.cgi?id=666251#c0


           Summary: HttpListener: Content-Length is required for all
                    webdav verbs
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: petee at mindtouch.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10

Currently HttpListenerRequest.cs maintains a list of http verbs which do not
require a Content-Length.

static readonly string [] no_body_methods = new string [] { "GET", "HEAD",
"DELETE" }

This causes problems for some webdav verbs like LOCK which do not require
content-length.  A list of verbs which DO require Content-Length would be more
appropriate.





Reproducible: Always

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list