HDFS-17040. Namenode web UI should set content type to application/octet-stream when uploading a file. (#5721)

This commit is contained in:
Attila Magyar 2024-09-23 21:21:38 +02:00 committed by GitHub
parent 37a74f0692
commit 68315744f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {