mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 12:35:30 +02:00
Disable chunked request by forcing reactor to set Content-Length
This commit is contained in:
parent
8fd9da2264
commit
51a2adfbbb
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ class KoboProxy(
|
|||
}
|
||||
}
|
||||
logger.debug { "Headers out: $headersOut" }
|
||||
}.apply { if (body != null) body(body) }
|
||||
}.apply { if (body != null) body(objectMapper.writeValueAsBytes(body)) }
|
||||
.retrieve()
|
||||
.onStatus(HttpStatusCode::isError) { _, response ->
|
||||
logger.debug { "Kobo response: ${response.statusCode}: ${response.body.bufferedReader().use { it.readText() }}" }
|
||||
|
|
|
|||
Loading…
Reference in a new issue