Add mime.js
This commit is contained in:
parent
240c062a9a
commit
c27b0cfc64
1 changed files with 26 additions and 0 deletions
26
make/mime.js
Normal file
26
make/mime.js
Normal file
|
@ -0,0 +1,26 @@
|
|||
make.mime = {
|
||||
type: function () {
|
||||
return random.pick([
|
||||
"text/html",
|
||||
"text/plain",
|
||||
"text/css",
|
||||
"text/javascript",
|
||||
"image/jpeg",
|
||||
"image/gif",
|
||||
"image/png",
|
||||
"application/rss+xml",
|
||||
"application/vnd.mozilla.xul+xml",
|
||||
"application/xhtml+xml",
|
||||
"application/octet-stream",
|
||||
"application/x-shockwave-flash",
|
||||
"application/x-test",
|
||||
"audio/mpeg",
|
||||
"audio/ogg",
|
||||
"audio/ogg; codecs=vorbis",
|
||||
"video/ogg",
|
||||
'video/ogg; codecs="theora,vorbis"',
|
||||
"video/mp4",
|
||||
'video/mp4; codecs="avc1.42E01E,mp4a.40.2"'
|
||||
]);
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue