Skip to content
Permalink
Browse files

Merge branch 'master' of https://github.com/chrislusf/seaweedfs

  • Loading branch information...
chrislusf committed Mar 11, 2019
2 parents 2ce4dae + 1e0e909 commit 99ce10daeb07227ae79ae23d3ca61351bf4771a3
Showing with 0 additions and 6 deletions.
  1. +0 −6 weed/operation/upload_content.go
@@ -92,12 +92,6 @@ func upload_content(uploadUrl string, fillBufferFunction func(w io.Writer) error
return nil, post_err
}
defer resp.Body.Close()

if resp.StatusCode < http.StatusOK ||
resp.StatusCode > http.StatusIMUsed {
return nil, errors.New(http.StatusText(resp.StatusCode))
}

etag := getEtag(resp)
resp_body, ra_err := ioutil.ReadAll(resp.Body)
if ra_err != nil {

0 comments on commit 99ce10d

Please sign in to comment.
You can’t perform that action at this time.