Skip to content

Commit

Permalink
chore: Add ehttp configuration for JSON enforcement
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Jan 20, 2025
1 parent c972121 commit c11c1ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/beacon/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func (n *node) ensureClients(ctx context.Context) error {
ehttp.WithLogLevel(zerologLevel),
ehttp.WithTimeout(timeout),
ehttp.WithExtraHeaders(n.config.Headers),
ehttp.WithEnforceJSON(true), // TODO(sam): HACK: Remove this once we have a proper spec
)
if err != nil {
failures++
Expand Down

0 comments on commit c11c1ec

Please sign in to comment.