aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/git-lfs-server/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/git-lfs-server/main.go b/cmd/git-lfs-server/main.go
index a1ad5a4..b886557 100644
--- a/cmd/git-lfs-server/main.go
+++ b/cmd/git-lfs-server/main.go
@@ -194,6 +194,7 @@ func (h *handler) handleUploadObject(ctx context.Context, repo string, obj parse
194 presigned, err := h.mc.Presign(ctx, http.MethodPut, h.bucket, fullPath, expiresIn, url.Values{ 194 presigned, err := h.mc.Presign(ctx, http.MethodPut, h.bucket, fullPath, expiresIn, url.Values{
195 "x-amz-sdk-checksum-algorithm": {"sha256"}, 195 "x-amz-sdk-checksum-algorithm": {"sha256"},
196 "x-amz-checksum-sha256": {sha256AsBase64(obj.fullHash)}, 196 "x-amz-checksum-sha256": {sha256AsBase64(obj.fullHash)},
197 "x-amz-content-sha256": {obj.fullHash},
197 "Content-Length": {strconv.FormatUint(obj.size, 10)}, 198 "Content-Length": {strconv.FormatUint(obj.size, 10)},
198 }) 199 })
199 if err != nil { 200 if err != nil {