remove unused function

This commit is contained in:
Chris Lu 2018-09-22 22:11:13 -07:00
parent 9a3d46f8e3
commit fdc8a267de

View file

@ -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
}