Skip to content

Commit

Permalink
Fix default headers in Unirest config (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpe09 authored Oct 7, 2024
1 parent 1b99ccc commit 5466167
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ private boolean getSkip() {
private void configureUnirest() {
Unirest.config()
.setObjectMapper(new JacksonObjectMapper(relaxedObjectMapper()))
.addDefaultHeader(ACCEPT_ENCODING, "gzip, deflate")
.addDefaultHeader(ACCEPT, "application/json")
.setDefaultHeader(ACCEPT_ENCODING, "gzip, deflate")
.setDefaultHeader(ACCEPT, "application/json")
.verifySsl(this.verifySsl);

// Debug all Unirest config
Expand Down

0 comments on commit 5466167

Please sign in to comment.