add ETag to upload results and chunks

This commit is contained in:
Chris Lu committed 2018-09-22 22:12:21 -07:00
1 parent 420f068376
commit 7d6b2a4740
4 files changed
+15

No files matched your search

+1
View File
@@ -123,6 +123,7 @@ func submitForClientHandler(w http.ResponseWriter, r *http.Request, masterUrl st
m["fid"] = assignResult.Fid
m["fileUrl"] = assignResult.PublicUrl + "/" + assignResult.Fid
m["size"] = uploadResult.Size
m["eTag"] = uploadResult.ETag
writeJsonQuiet(w, r, http.StatusCreated, m)
return
}