http://bugzilla.novell.com/show_bug.cgi?id=614483
http://bugzilla.novell.com/show_bug.cgi?id=614483#c0 Summary: WebClient UploadData does not allow method DELETE Classification: Mono Product: MonoTouch Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Class Libraries AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: Yes Description of Problem: When using the UploadData method of WebCLient and choosing DELETE as the method we get an exception (ProtocolViolationException). Steps to reproduce the problem: 1. public static string RetrieveMessage(WebClient webClient, string authHeaderValue) { webClient.Headers[HttpRequestHeader.Authorization] = authHeaderValue; return Encoding.UTF8.GetString(webClient.UploadData("messages/head?timeout=20", "DELETE", new byte[0])); } Actual Results: Exception. Expected Results: UploadData should support DELETE as NETFX does. How often does this happen? Always. Additional Information: - -- 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
