diff --git a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt index be7384131..53220ede4 100644 --- a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt +++ b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt @@ -391,7 +391,6 @@ class BookController( }, ) .contentType(getMediaTypeOrDefault(media.mediaType)) - .contentLength(this.contentLength()) .body(stream) } } catch (ex: FileNotFoundException) {