Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
fix: failing health check due to invalid header
Browse files Browse the repository at this point in the history
  • Loading branch information
eitu5ami committed Feb 23, 2024
1 parent 6777e19 commit e047883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/proxy/healthchecker_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func performGasLeftCall(c context.Context, client *http.Client, url string) (uin
return 0, errors.Wrap(err, "new request failed")
}

r.Header.Add(headers.ContentEncoding, "application/json")
r.Header.Add(headers.ContentType, "application/json")
r.Header.Set(headers.UserAgent, userAgent)

resp, err := client.Do(r)
Expand Down

0 comments on commit e047883

Please sign in to comment.