fn headers()

in client/src/client/put_logs_raw.rs [100:113]


    fn headers(&self) -> http::HeaderMap {
        let mut headers = http::HeaderMap::new();
        headers.insert(
            LOG_BODY_RAW_SIZE,
            self.raw_size.to_string().parse().unwrap(),
        );
        headers.insert(
            LOG_COMPRESS_TYPE,
            self.compress_type
                .parse()
                .unwrap_or(LOG_INVALID_COMPRESS_TYPE),
        );
        headers
    }