Skip to content

Commit

Permalink
chore: AcceptCharset test version
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Nov 5, 2024
1 parent d653be4 commit 287e36c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/logger/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,11 @@ kotlin {
implementation(libs.kermit.logging)
}
}

val jsMain by getting {
dependencies {
implementation(libs.kermit.logging)
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class DefaultFetchJSImpl : IFetchCallbackServiceJS {
return@async getHttpClient().await().get(endpoint) {
headers {
append(HttpHeaders.Accept, "application/entity-statement+jwt")
append(HttpHeaders.AcceptCharset, "ascii, utf-8")
}
}.body() as String
}.asPromise()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class DefaultFetchJvmImpl : IFetchCallbackService {
return getHttpClient().get(endpoint) {
headers {
append(HttpHeaders.Accept, "application/entity-statement+jwt")
append(HttpHeaders.AcceptCharset, "ascii, utf-8")
}
}.body() as String
}
Expand Down

0 comments on commit 287e36c

Please sign in to comment.