Skip to content

Commit

Permalink
HDFS-17040 - WebHDFS UI should set content type to application/octet-…
Browse files Browse the repository at this point in the history
…stream when uploading a file
  • Loading branch information
zeroflag committed Jun 6, 2023
1 parent 9de13f8 commit 395e833
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 395e833

Please sign in to comment.