diff options
| author | Chris Lu <chris.lu@gmail.com> | 2013-07-15 16:44:24 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2013-07-15 16:44:24 -0700 |
| commit | dd66193bfbc36bb43bace01e2f88fe52f983c838 (patch) | |
| tree | 66567e4e89eb35730d9212ec9bdd52f557011384 /go/operation/upload_content.go | |
| parent | 524a44f027cf720232f9a8fb00e4788f57da1808 (diff) | |
| download | seaweedfs-dd66193bfbc36bb43bace01e2f88fe52f983c838.tar.xz seaweedfs-dd66193bfbc36bb43bace01e2f88fe52f983c838.zip | |
remove logging
Diffstat (limited to 'go/operation/upload_content.go')
| -rw-r--r-- | go/operation/upload_content.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/go/operation/upload_content.go b/go/operation/upload_content.go index 2d6a249f2..e606ef7e3 100644 --- a/go/operation/upload_content.go +++ b/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") } |
