Allow uploadfiles to use PUT or POST

I've run into some cases where I want to PUT as well as POST for uploadFiles, it would be great to be able to do either.