ktor
2.0.3
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
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
Content copied to clipboard
fun
ContentType.Companion
.
defaultForFile
(
file
:
Path
)
:
ContentType
Content copied to clipboard
Return
default content type for
file
by its extension