ktor
2.2.4
3.0.3
3.0.2
3.0.0
2.3.12
2.2.4
2.0.3
1.6.8
jvm
ktor-http
/
io.ktor.http
/
defaultForFile
default
For
File
jvm
fun
ContentType.Companion
.
defaultForFile
(
file
:
File
)
:
ContentType
fun
ContentType.Companion
.
defaultForFile
(
file
:
Path
)
:
ContentType
Return
default content type for
file
by its extension