Skip to content

Commit

Permalink
Fixes accept header when retrieve report is failed (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlicanAkkus committed Jul 16, 2024
1 parent 9e4cf15 commit 54b725d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapter/craftgate.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func (c *Client) NewRequestForByteResponse(ctx context.Context, method, urlStr s
req.Header.Set(ClientVersionHeaderName, ClientVersion)
req.Header.Set(SignatureHeaderName, hashStr)
req.Header.Set("Content-Type", "application/octet-stream; charset=utf-8")
req.Header.Set("Accept", "application/octet-stream; charset=utf-8")
req.Header.Set("Accept", "application/octet-stream,application/json; charset=utf-8")

return req, nil
}
Expand Down

0 comments on commit 54b725d

Please sign in to comment.