Const
PUTs the file with XHR, because fetch reports no upload progress. The body is an untyped copy, so the browser adds no Content-Type of its own.
PUT
fetch
PUTs the file with XHR, becausefetchreports no upload progress. The body is an untyped copy, so the browser adds no Content-Type of its own.