OptionalabortOptionalincludeOptionalnameName to give the file on the server. Defaults to file.name.
OptionaltypeContent-type for the upload. Defaults to file.type, or applicaton/octet-stream.
OptionalprogressOptional. Called when a chunk of
data has been uploaded, with an object containing the fields loaded
(number of bytes transferred) and total (total size, if known).
if false will not send the filename, e.g for encrypted file uploads where filename leaks are undesirable. Defaults to true.