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

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


           Summary: System.Net.HttpWebRequest does not normalize Method
                    property to uppercase
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: i686
        OS/Version: IRIX
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US)
AppleWebKit/534.20 (KHTML, like Gecko) Chrome/11.0.672.2 Safari/534.20

When setting the Method property of an instance of HttpWebRequest, the
Microsoft .NET library normalizes the method type to uppercase. Mono 2.10 does
not. Since that value is copied into the web request sent to the remote server,
it may not understand the lowercase request verb.


Reproducible: Always

Steps to Reproduce:
            HttpWebRequest webReq =
(HttpWebRequest)HttpWebRequest.Create("http://www.example.com/";);
webReq.Method = "post";

Console.WriteLine(webReq.Method);
Actual Results:  
post

Expected Results:  
POST

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

Reply via email to