Add the ability to upload files via PUT instead of POST

This commit is contained in:
Johannes Hiemer
2016-06-06 11:32:14 +02:00
parent db77e89235
commit cf7abaab84

View File

@@ -31,6 +31,10 @@ export class FileItem {
this.options = options;
this.file = new FileLikeObject(some);
this._file = some;
if (uploader.options && uploader.options.method)
this.method = uploader.options.method;
this.url = uploader.options.url;
}