Pimp my SQL generator and pimp my whitespaces!
Blah blah, blah, mimetype sent by browsers is a pile of shit. Will add proper serverside mimetype checks later.