Browse Source

remove unused function

pull/747/head
Chris Lu 6 years ago
parent
commit
fdc8a267de
  1. 8
      weed/s3api/s3api_object_handlers.go

8
weed/s3api/s3api_object_handlers.go

@ -220,11 +220,3 @@ func getObject(vars map[string]string) string {
}
return object
}
func getEtag(r *http.Request) (etag string) {
etag = r.Header.Get("ETag")
if strings.HasPrefix(etag, "\"") && strings.HasSuffix(etag, "\"") {
etag = etag[1 : len(etag)-1]
}
return
}
Loading…
Cancel
Save