Improved upload method to deal with update scenario (though it really should be handled by PUT).
Adjust path so that we match everything the most specific GET version matches (otherwise, we won't match) even though we actually don't want to delete versions.
Added support for MIME type, though it's not very helpful by itself since it doesn't really auto-detect content type.