Great this worked for me, one thing I noticed is that you do not have to specify a content type for uploading every file is treated as binary chunks hence if your server stores the file exactly as it is unless your server is looking for a specific MIME type.