Implemented Content-Type(mime) detection