Add the ability to upload files via PUT instead of POST #239

Merged
jhiemer merged 3 commits from development into development 2016-06-06 11:10:13 +00:00
Showing only changes of commit de6df42e0b - Show all commits

View File

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