Skip to content

Commit

Permalink
also remove content negotiaion here
Browse files Browse the repository at this point in the history
  • Loading branch information
jillesvangurp committed Oct 28, 2024
1 parent 882045f commit d0e4693
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ actual fun defaultKtorHttpClient(
append("Authorization", "ApiKey $elasticApiKey")
}
}
install(ContentNegotiation) {
json(DEFAULT_JSON)
}
if (logging) {
install(Logging) {
level = LogLevel.ALL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,5 @@ actual fun defaultKtorHttpClient(
append("Authorization", "ApiKey $elasticApiKey")
}
}
install(ContentNegotiation) {
json()
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ actual fun defaultKtorHttpClient(
append("Authorization", "ApiKey $elasticApiKey")
}
}
install(ContentNegotiation) {
json(DEFAULT_JSON)
}
if (logging) {
install(Logging) {
level = LogLevel.ALL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ actual fun defaultKtorHttpClient(
append("Authorization", "ApiKey $elasticApiKey")
}
}
install(ContentNegotiation) {
json(DEFAULT_JSON)
}
if (logging) {
install(Logging) {
level = LogLevel.ALL
Expand Down

0 comments on commit d0e4693

Please sign in to comment.