Browse Source

remove logging

pull/2/head
Chris Lu 12 years ago
parent
commit
dd66193bfb
  1. 1
      go/operation/upload_content.go
  2. 2
      go/weed/version.go

1
go/operation/upload_content.go

@ -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")
}

2
go/weed/version.go

@ -6,7 +6,7 @@ import (
)
const (
VERSION = "0.35 beta"
VERSION = "0.35"
)
var cmdVersion = &Command{

Loading…
Cancel
Save