Skip to content

Commit

Permalink
debug: added print to default request
Browse files Browse the repository at this point in the history
  • Loading branch information
y9san9 committed Nov 1, 2023
1 parent 732550c commit 1576711
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public class KtorMeetacyEngine(
json(json)
}
defaultRequest {
println("ca62: ${url.protocol}: isWebsocket = ${url.protocol.isWebsocket()}")
if (!url.protocol.isWebsocket()) {
header(HttpHeaders.ContentType, ContentType.Application.Json)
}
Expand Down

0 comments on commit 1576711

Please sign in to comment.