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

Commit

Permalink
Merge pull request #180 from 0xProject/marcin/bugfix
Browse files Browse the repository at this point in the history
fix: failing health check due to invalid header
  • Loading branch information
eitu5ami authored Feb 23, 2024
2 parents 6777e19 + e047883 commit c7c36a2
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 c7c36a2

Please sign in to comment.