Added the MIME sniffer. Added some more stuff to the PUT method.