Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhham committed Dec 16, 2024
1 parent 30ca176 commit a1ceac3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ public val ContentEncoding: ClientPlugin<ContentEncodingConfig> = createClientPl
val encodings =
response.headers[HttpHeaders.ContentEncoding]?.split(",")?.map { it.trim().lowercase() } ?: run {
LOGGER.trace(
"Empty or no Content-Encoding header in response. " + "Skipping ContentEncoding for ${response.call.request.url}"
"Empty or no Content-Encoding header in response. " +
"Skipping ContentEncoding for ${response.call.request.url}"
)
return response
}
Expand All @@ -136,7 +137,8 @@ public val ContentEncoding: ClientPlugin<ContentEncodingConfig> = createClientPl
if (name.equals(
HttpHeaders.ContentEncoding,
ignoreCase = true
) || name.equals(HttpHeaders.ContentLength, ignoreCase = true)
) ||
name.equals(HttpHeaders.ContentLength, ignoreCase = true)
) {
return@forEach
}
Expand Down
1 change: 0 additions & 1 deletion ktor-utils/jvm/test/io/ktor/tests/utils/FileChannelTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,4 @@ class FileChannelTest {
assertEquals(5, file.length())
assertEquals("Hello", file.readText())
}

}

0 comments on commit a1ceac3

Please sign in to comment.