vector::sources::util::http

Function decode

source
pub fn decode(header: Option<&str>, body: Bytes) -> Result<Bytes, ErrorMessage>