text/x-kotlin
Kotlin source code
| Description | Kotlin source code |
|---|---|
| File extensions | .kt |
| Based on | text/plain |
Frequently asked questions
What is the MIME type text/x-kotlin?
text/x-kotlin denotes “Kotlin source code”.
Which file extension does text/x-kotlin use?
Files of type text/x-kotlin usually end in .kt.
How does a web server serve text/x-kotlin correctly?
With the header Content-Type: text/x-kotlin. In nginx: types { text/x-kotlin kt; }; in Apache: AddType text/x-kotlin .kt.