mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-15 04:24:52 +08:00
remove logging
This commit is contained in:
@@ -27,7 +27,6 @@ func Upload(uploadUrl string, filename string, reader io.Reader, isGzipped bool)
|
||||
h := make(textproto.MIMEHeader)
|
||||
h.Set("Content-Disposition", fmt.Sprintf(`form-data; name="file"; filename="%s"`, filename))
|
||||
h.Set("Content-Type", mime.TypeByExtension(strings.ToLower(filepath.Ext(filename))))
|
||||
println("content is gzipped", isGzipped)
|
||||
if isGzipped {
|
||||
h.Set("Content-Encoding", "gzip")
|
||||
}
|
||||
|
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
VERSION = "0.35 beta"
|
||||
VERSION = "0.35"
|
||||
)
|
||||
|
||||
var cmdVersion = &Command{
|
||||
|
Reference in New Issue
Block a user