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


           Summary: WebClient.OpenWriteAsync(Uri) does not set method,
                    throws an exception
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: ---


The WebClient.OpenWriteAsync() overload that only takes a Uri parameter is
supposed to set the HTTP method automatically. "This method uses the STOR
command to upload an FTP resource. For an HTTP resource, the POST method is
used." However it does not get set, and the following exception occurs:

ERROR: System.ArgumentNullException: Argument cannot be null.
Parameter name: method
  at System.Net.WebClient.OpenWriteAsync (System.Uri address, System.String
method, System.Object userToken) [0x00000] 
  at System.Net.WebClient.OpenWriteAsync (System.Uri address, System.String
method) [0x00000] 
  at System.Net.WebClient.OpenWriteAsync (System.Uri address) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Net.WebClient:OpenWriteAsync
(System.Uri)
  at libsecondlife.Capabilities.EventQueueClient.Start () [0x00000]


-- 
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