aboutsummaryrefslogtreecommitdiff
path: root/weed/operation/submit.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-12-15 20:57:08 -0800
committerChris Lu <chris.lu@gmail.com>2019-12-15 20:57:08 -0800
commit392678f8f33974b2b7f3c6ff1e311887a846d1e3 (patch)
tree432eae1c347ded7e3e73c4fb3c52c5f3f59799e3 /weed/operation/submit.go
parente6ee421d6153a4fea25df19e9be03b984add8b14 (diff)
downloadseaweedfs-392678f8f33974b2b7f3c6ff1e311887a846d1e3.tar.xz
seaweedfs-392678f8f33974b2b7f3c6ff1e311887a846d1e3.zip
upload skipping mimetype if not needed
Diffstat (limited to 'weed/operation/submit.go')
-rw-r--r--weed/operation/submit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/operation/submit.go b/weed/operation/submit.go
index bdf59d966..62f067430 100644
--- a/weed/operation/submit.go
+++ b/weed/operation/submit.go
@@ -203,7 +203,7 @@ func upload_one_chunk(filename string, reader io.Reader, master,
) (size uint32, e error) {
glog.V(4).Info("Uploading part ", filename, " to ", fileUrl, "...")
uploadResult, uploadError := Upload(fileUrl, filename, reader, false,
- "application/octet-stream", nil, jwt)
+ "", nil, jwt)
if uploadError != nil {
return 0, uploadError
}