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