set etag in response

This commit is contained in:
Chris Lu
2019-01-02 12:57:54 -08:00
parent d5ebfd5b0c
commit e49a38842a
2 changed files with 3 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ type UploadResult struct {
Name string `json:"name,omitempty"`
Size uint32 `json:"size,omitempty"`
Error string `json:"error,omitempty"`
ETag string `json:"error,omitempty"`
ETag string `json:"eTag,omitempty"`
}
var (