Got me :-) To my surprise your code does indeed add the MIME header stuff, even on the .NET Framework for Windows. So I went back to my real application code to check this out. I found the difference is that we are using "PUT" and not "POST" as the HTTP method.
If you change your line to wc.UploadFileAsync (new Uri ("http://127.0.0.1:9000/"), "PUT", "uploadfile.cs", evt); then .NET for Windows does no longer add the MIME headers. Whereas, Mono still does. Cheers, Andreas -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/System-Net-WebClient-UploadFileAsync-Problem-tp5157961p5158294.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid