aboutsummaryrefslogtreecommitdiff
path: root/weed/operation/upload_content.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/operation/upload_content.go')
-rw-r--r--weed/operation/upload_content.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/operation/upload_content.go b/weed/operation/upload_content.go
index 1e2c591c5..b26b82800 100644
--- a/weed/operation/upload_content.go
+++ b/weed/operation/upload_content.go
@@ -93,6 +93,7 @@ func doUploadData(uploadUrl string, filename string, cipher bool, data []byte, i
if !isInputGzipped {
if mtype == "" {
mtype = http.DetectContentType(data)
+ // println("detect1 mimetype to", mtype)
if mtype == "application/octet-stream" {
mtype = ""
}