def set_content_type(content_type):
    """Set file content type. It will be sent to users downloading
        that file. This is used as well to compute the
        mime-type/extension of the file.
        """
