remove logging

This commit is contained in:
Chris Lu 2013-07-15 16:44:24 -07:00
parent 524a44f027
commit dd66193bfb
2 changed files with 1 additions and 2 deletions

View file

@ -27,7 +27,6 @@ func Upload(uploadUrl string, filename string, reader io.Reader, isGzipped bool)
h := make(textproto.MIMEHeader) h := make(textproto.MIMEHeader)
h.Set("Content-Disposition", fmt.Sprintf(`form-data; name="file"; filename="%s"`, filename)) h.Set("Content-Disposition", fmt.Sprintf(`form-data; name="file"; filename="%s"`, filename))
h.Set("Content-Type", mime.TypeByExtension(strings.ToLower(filepath.Ext(filename)))) h.Set("Content-Type", mime.TypeByExtension(strings.ToLower(filepath.Ext(filename))))
println("content is gzipped", isGzipped)
if isGzipped { if isGzipped {
h.Set("Content-Encoding", "gzip") h.Set("Content-Encoding", "gzip")
} }

View file

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