function content_type

Allow to set the Content-Type header by the type parameter. The
parameter filename forces the dowload of the template.