Content-Type resolution can now use a function `TypeByExtension(extension)` to resolve to the respective content-type.