Whilst you could create a multipart/form-data request body yourself to include a file upload field, it's not going to help you because you cannot read client-side files from the file upload field.
(Except using the FileList interface, but currently only Firefox supports that.)