For our everyday work we need a lot of file header. it a very big list of file header we need to set as Content-Type for http header.
list of all header type
AI = 'application/postscript';
AIF = 'application/octet-stream';
AIFF = 'audio/x-aiff';
AIFC = 'audio/x-aiff';
ASF = 'application/vnd.ms-asf';
AU = 'audio/basic';
AVI = 'video/x-msvideo';
BMP = 'image/bmp';
CDR = 'application/x-coreldraw';
CDT = 'application/x-coreldraw';
CPKG = 'application/vnd.xmpie.cpkg';
CSS = 'text/css';
DOC = 'application/msword';
DOCM = 'application/vnd.ms-word.document.macroEnabled.12';
DOCX = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
DOT = 'application/msword';
DOTM = 'application/vnd.ms-word.template.macroEnabled.12';
DOTX = 'application/vnd.openxmlformats-officedocument.wordprocessingml.template';
DV = 'video/x-dv';
EPS = 'application/postscript';
FH = 'image/x-freehand';
FH3 = 'image/x-freehand';
FH4 = 'image/x-freehand';
FH5 = 'image/x-freehand';
FH6 = 'image/x-freehand';
FH7 = 'image/x-freehand';
FH8 = 'image/x-freehand';
FH9 = 'image/x-freehand';
FH10 = 'image/x-freehand';
FH11 = 'image/x-freehand';
FH12 = 'image/x-freehand';
FLA = 'application/octet-stream';
FLV = 'video/x-flv';
GIF = 'image/gif';
HTM = 'text/htm';
HTML = 'text/html';
IND = 'application/x-indesign';
INDD = 'application/x-indesign';
JPE = 'image/jpeg';
JPEG = 'image/jpeg';
JPG = 'image/jpeg';
JS = 'text/javascript';
MID = 'audio/midi';
MIDI = 'audio/midi';
MOV = 'video/quicktime';
MPGA = 'audio/mpeg';
MP2 = 'Audio/mpeg';
MP3 = 'audio/mpeg';
MPEG = 'video/mpeg';
MPG = 'video/mpeg';
MPE = 'video/mpeg';
OGG = 'application/x-ogg';
PDF = 'application/pdf';
PNG = 'image/png';
POTM = 'application/vnd.ms-powerpoint.template.macroEnabled.12';
POTX = 'application/vnd.openxmlformats-officedocument.presentationml.template';
PPAM = 'application/vnd.ms-powerpoint.addin.macroEnabled.12';
PPSM = 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12';
ppsx = 'application/vnd.openxmlformats-officedocument.presentationml.slideshow';
PPT = 'application/vnd.ms-powerpoint';
PPTM = 'application/vnd.ms-powerpoint.presentation.macroEnabled.12';
PPTX = 'application/vnd.openxmlformats-officedocument.presentationml.presentation';
PS = 'application/postscript';
QT = 'video/quicktime';
QXD = 'application/x-quark-express';
QXT = 'application/x-quark-express';
RA = 'audio/x-realaudio ';
RAM = 'audio/x-pn-realaudio';
RM = 'udio/x-pn-realaudio';
RTF = 'application/rtf';
SGML = 'text/sgml';
SLDM = 'application/vnd.ms-powerpoint.slide.macroEnabled.12';
SLDX = 'application/vnd.openxmlformats-officedocument.presentationml.slide';
SVG = 'image/svg+xml';
SWF = 'application/x-shockwave-flash ';
TIF = 'image/tiff';
TIFF = 'image/tiff';
TXT = 'text/plain';
URL = 'link';
WAV = 'audio/x-wav';
XLAM = 'application/vnd.ms-excel.addin.macroEnabled.12';
XLS = 'application/vnd.ms-excel';
XLSB = 'application/vnd.ms-excel.sheet.binary.macroEnabled.12';
XLSM = 'application/vnd.ms-excel.sheet.macroEnabled.12';
XLSX = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
XLT = 'application/vnd.ms-excel';
XLTM = 'application/vnd.ms-excel.template.macroEnabled.12';
XLTX = 'application/vnd.openxmlformats-officedocument.spreadsheetml.template';
XML = 'text/xml';
XSL = 'text/xml';
ZIP = 'application/zip';