pub fn collect_response_headers<'a>(
responses: impl IntoIterator<Item = &'a IrResponse>,
ir: &IrSpec,
) -> Vec<ResponseHeaderPlan>Expand description
Collect headers declared by the selected response entries.
Header names are merged case-insensitively. If different response entries declare incompatible schemas for the same header, the accessor falls back to a string so callers can still read the wire value without lossy coercion.