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