UploadFile+PUT does not wrap the file in a multipart envelope
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 19 Jan 2012 17:23:24 +0000 (12:23 -0500)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 19 Jan 2012 17:23:24 +0000 (12:23 -0500)
commitc621b27d4540165e20aab9ae4addd9624e4bff0b
tree06215531f6e89ee740b0e6f6527558446fae2481
parent18386d4e7251b90caf59fef3d93c3bfe2d4d8c4f
UploadFile+PUT does not wrap the file in a multipart envelope

When using PUT as the method to upload a file using WebClient, the file
is uploaded as-is, without the multipart boundaries, headers,...
Fixes bug #2970.
mcs/class/System/System.Net/WebClient.cs