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