Instance Propertyswift-nio 2.72.0NIOHTTP1

    automaticallySetFramingHeaders

    Whether the HTTPResponseEncoder should automatically add Content-Length or Transfer-Encoding headers when appropriate.

    HTTPEncoder.swift:275
    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.

    Other members in extension

    Type members