garden / tree

A multiplayer file system
https://thefiletree.com
European Union Public License 1.2
70 stars 23 forks source link

Investigate file extension to mime type mapping #188

Open jankeromnes opened 11 years ago

jankeromnes commented 11 years ago

On thefiletree.com, mime types are usually guessed by our system, but sometimes changed by our users. For the sake of investigation, here is a complete mapping of all unique extension:mime presently on our server:

:binary
:haskell
:javascript
:shell
:text
:text/html
:text/javascript
:text/plain
:text/x-common-lisp
:text/x-markdown
:text/x-prolog
:text/x-ruby
:text/x-sh
:text/xml
adb:text/x-ada
aliases:text/x-sh
asm:text/x-asm
asm:text/x-assembler
awk:text/plain
awk:text/x-awk
b:text/x-brainfuck
backup:text
bar:text
bc:text/x-bc
c:text/x-csrc
c:text/x-prolog
cc:text/x-c++src
clips:text/x-clips
clj:text/x-clojure
code:text
code:text/plain
coffee:text/x-coffeescript
cpp:text/x-c++src
cs:text/x-csharp
css:text/css
d:text/x-dsrc
df:text/plain
diff:text/x-diff
dtd:text/xml
ecl:text/x-ecl
el:text/x-common-lisp
emacs:text/x-common-lisp
erl:text
erl:text/plain
erl:text/x-erlang
f:text/x-fortran
factor:text/x-factor
fal:text/x-falcon
fs:text/x-fsharp
gdb:text
gitconfig:properties
gitignore:text/plain
go:text/x-go
groovy:text/x-groovy
hgrc:properties
hs:text/x-haskell
html:text/html
hx:text/x-haxe
icl:text
icn:text/x-icon
ico:image/vnd.microsoft.icon
idx:text
ini:text/x-ini
irc:text/x-irc
java:text/x-java
jpg:image/jpeg
js:as
js:text/html
js:text/javascript
json:application/json
latex:text/x-stex
less:text/x-less
link:text/plain
lisp:lisp
lisp:text
lisp:text/plain
lisp:text/x-common-lisp
log:text/plain
lua:text/x-lua
m:html
m:text
m:text/plain
map:text
markdown:text
markdown:text/x-web-markdown
md:text/x-markdown
mdu:text/plain
ml:text/x-ocaml
mp3:audio/mpeg
n:text/x-nemerle
nice:text/x-nice
nim:text/x-nimrod
nt:text/n-triples
ogg:application/ogg
oz:text/x-oz
pack:text
pas:text/x-pascal
pdf:application/pdf
php:text/x-php
pig:text/x-pig
pike:text/x-pike
pl:text/x-perl
pl:text/x-prolog
pls:text/x-plsql
png:image/png
pro:text/x-prolog
py:text/x-python
r:text/x-rsrc
rb:text/x-ruby
rs:text/x-rustsrc
rst:text/x-rst
sample:text
scala:text/plain
scala:text/x-scala
sce:text
scm:text/x-scheme
scss:text/css
sequence:text
sequence:text/x-sequence
sh:text/x-sh
sh:{"100":0,"Last-Modified":1373529800625,"coś tam":text/x-sh
sieve:text/x-sieve
sparql:application/x-sparql-query
sql:text/x-plsql
st:text/x-stsrc
svg:application/xml
svg:text
svg:text/plain
svg:text/svg+xml
test:text/plain
tex:text/x-latex
tex:text/x-stex
txt:text
txt:text/plain
url:text
v:text/x-verilog
vbs:text/vbscript
vgk:text/plain
vimrc:text/x-sh
vtl:text/velocity
wiki:text/plain
xml:text
xml:text/plain
xml:text/xml
xq:application/xquery
yaml:text/x-yaml
yifu:text
zshrc:text/x-sh