Skip to content

Commit 10c86ef

Browse files
authored
Fix ChangeFileContentInChangeEdit
1 parent 6478d30 commit 10c86ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gerrit.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ func (c *Client) NewRawPutRequest(ctx context.Context, urlStr string, body strin
279279

280280
// Request compact JSON
281281
// See https://gerrit-review.googlesource.com/Documentation/rest-api.html#output
282-
req.Header.Add("Accept", "application/json")
283-
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
282+
// req.Header.Add("Accept", "application/json")
283+
// req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
284284

285285
// TODO: Add gzip encoding
286286
// Accept-Encoding request header is set to gzip

0 commit comments

Comments
 (0)