ResponseTemplate::append_headers is analagous to append_header, but appends multiple headers from an iterator of key-value pairs. Is uses http::HeaderMap's Extend implementation, which uses HeaderMap::append under the hood, ensuring that header values are not overwritten.
ResponseTemplate::append_headers
is analagous toappend_header
, but appends multiple headers from an iterator of key-value pairs. Is useshttp::HeaderMap
'sExtend
implementation, which usesHeaderMap::append
under the hood, ensuring that header values are not overwritten.