ktor-server-host-common / io.ktor.server.engine / BaseApplicationResponse / BodyLengthIsTooSmall

BodyLengthIsTooSmall

class BodyLengthIsTooSmall : IllegalStateException, CopyableThrowable<BodyLengthIsTooSmall>

Content's actual body size doesn't match the provided one in Content-Length header

Constructors

<init>

BodyLengthIsTooSmall(expected: Long, actual: Long)

Content's actual body size doesn't match the provided one in Content-Length header

Functions

createCopy

fun createCopy(): BodyLengthIsTooSmall?