[HTTP]ServerResponseAn outbound response under construction: status, #(name value) header pairs, and a body — nil, Bytes (a String converts for convenience), or a Generator whose yields (String | Bytes) stream to the peer as chunked transfer-encoding. The setters return self so calls can be threaded. The [Web] layer aliases and reopens this class with its builder conveniences.
The canonical reason phrase for a status code ('' when unregistered — the phrase is display-only and an empty one is legal on the wire).
The body as set: nil, Bytes, or a Generator (streamed as chunked output).
Set the body — a String converts to its UTF-8 Bytes; Bytes or a Generator pass through; returns self.
Append a Content-Type header; returns self.
Append one header pair; returns self.
The header #(name value) pairs added so far.
Internal: defaults — status 200, empty headers, nil body.
Human rendering: the status code.
The status code to be sent.
Set the status code; returns self.