pub fn build_response_headers(
url: &str,
asset: &Asset,
encoding: &AssetEncoding,
encoding_type: &EncodingType,
certificate_version: &Option<u16>,
rewrite_source: &Option<String>,
config: &StorageConfig,
) -> Result<Vec<HeaderField>, &'static str>