def serve_download(path, name=None):
 return serve_file(path, 'application/x-download', 'attachment', name)

def serve_download ( path , name = None ) : return serve_file ( path , 'application/x-download' , 'attachment' , name )
serve path as an application/x-download attachment .