class InvalidHeaderForContent : IllegalStateException, CopyableThrowable<InvalidHeaderForContent>
OutgoingContent is trying to set some header that is not allowed for this content type.
For example, only upgrade content can set Upgrade
header.
InvalidHeaderForContent(name: String, content: String)
OutgoingContent is trying to set some header that is not allowed for this content type.
For example, only upgrade content can set |
fun createCopy(): InvalidHeaderForContent? |