Skip to content

Commit

Permalink
HDFS-17040. Namenode web UI should set content type to application/oc…
Browse files Browse the repository at this point in the history
…tet-stream when uploading a file. (apache#5721)
  • Loading branch information
zeroflag authored Sep 23, 2024
1 parent 37a74f0 commit 6831574
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,8 @@
url: url,
data: file.file,
processData: false,
crossDomain: true
crossDomain: true,
contentType: 'application/octet-stream'
}).always(function(data) {
numCompleted++;
if(numCompleted == files.length) {
Expand Down

0 comments on commit 6831574

Please sign in to comment.