http://bugzilla.novell.com/show_bug.cgi?id=525323


           Summary: HttpListener wants a Content-Length header from
                    requests with the SUBSCRIBE method
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


There is an HTTP request coming into my HttpListener. The request looks like
this:

SUBSCRIBE /service/1/event/ HTTP/1.1

Host: 192.168.0.11:3553

Callback: <http://192.168.0.11:51288/ServiceProxy4>

NT: upnp:event

Timeout: Second-1800



The rather than pass me an HttpListenerContext, the HttpListener stack responds
to the request with this:

HTTP/1.1 411 Length Required

Content-Type: text/html; charset=utf-8

Server: Mono-HTTPAPI/1.0

Date: Sun, 26 Jul 2009 18:19:39 GMT

Content-Length: 24

Connection: close



<h1>Length Required</h1>



SUBSCRIBE requests (and, I assume, other non-standard verbs) don't need
Content-Length headers.

-- 
Configure bugmail: http://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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to