Skip to main content

asset_content_type

Function asset_content_type 

Source
pub fn asset_content_type(name: &str) -> &'static str
Expand description

The HTTP Content-Type header for an uploaded GitHub Release asset name, chosen from its filename suffix.