diff options
| -rw-r--r-- | weed/s3api/s3api_object_handlers.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/weed/s3api/s3api_object_handlers.go b/weed/s3api/s3api_object_handlers.go index f459e17cf..93816c7ee 100644 --- a/weed/s3api/s3api_object_handlers.go +++ b/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 -} |
