Skip to content

Commit d524b27

Browse files
lunnysilverwind
authored andcommitted
1 parent a76df54 commit d524b27

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/lfs/http_client.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ func (c *HTTPClient) batch(ctx context.Context, operation string, objects []Poin
7979
return nil, err
8080
}
8181

82-
req, err := createRequest(ctx, http.MethodPost, url, map[string]string{"Content-Type": MediaType}, payload)
82+
req, err := createRequest(ctx, http.MethodPost, url, map[string]string{
83+
"Content-Type": MediaType,
84+
"Accept": MediaType,
85+
}, payload)
8386
if err != nil {
8487
return nil, err
8588
}

0 commit comments

Comments
 (0)