Instance Propertyswift-nio 2.72.0NIOHTTP1
automaticallySetFramingHeaders
Whether the HTTPResponseEncoder
should automatically add Content-Length
or Transfer-Encoding
headers when appropriate.
var automaticallySetFramingHeaders: Bool
Defaults to true
.
Set to false
if you are confident you are appropriately setting these framing headers yourself, to skip NIO’s transformation.