pub fn response_framing(
request_method: &[u8],
status: u16,
fields: &[Field<'_>],
) -> Result<Framing, DecodeError>Expand description
The framing of a response body (RFC 9112 §6.3 rules 1 to 7), given the method of the request it answers.
§Errors
Malformed "transfer coding" or "Content-Length".