Update mime type registration

@fosdev FOR DISCUSSION ONLY. DO NOT MERGE.
I am wondering if the need this get. What if we POST something as HTML? I bet things would not work. Can we curl POSTing HTML and check if it goes into the else block here just to check or what.