package Ġio . ktor . http Ċ Ċ import Ġio . ktor . util .* Ċ import Ġjava . io .* Ċ import Ġjava . nio . file .* Ċ Ċ private Ġval Ġcontent Types FileName Ġ= Ġ" mime list . csv " Ċ Ċ fun ĠContentType . Companion . default For File ( file : ĠFile ): ĠContentType Ġ= ĊĠĠĠ ĠContentType . from File Extension ( file . extension ). select Default () Ċ Ċ fun ĠContentType . Companion . default For File ( file : ĠPath ): ĠContentType Ġ= ĊĠĠĠ ĠContentType . from File Extension ( file . extension ). select Default () Ċ