pub fn build_asset_response(
requested_url: String,
requested_headers: Vec<HeaderField>,
certificate_version: Option<u16>,
asset: Option<(Asset, Memory)>,
rewrite_source: Option<String>,
status_code: StatusCode,
storage_state: &impl StorageStateStrategy,
) -> HttpResponse