Hi! Has someone a function for guessing the content type given a filename? foo.xml --> text/xml foo.html --> text/html .... It should work for the most common file-extensions thomas