Wasm Directoryalpha
Enum

framing-headers-mode

Determines how the framing headers (Content-Length/Transfer-Encoding) are set for a request or response.

enum framing-headers-mode {
  automatic,
  manually-from-headers,
}

Cases

CaseDescription
automaticDetermine the framing headers automatically based on the message body, and discard any framing headers already set in the message. This is the default behavior.
manually-from-headersUse the exact framing headers set in the message, falling back to automatic if invalid.