def download(self):
        """Send file to the HTTP client accessing ``/download`` URI."""
        path = os.path.join(absDir, 'pdf_file.pdf')
        return static.serve_file(
            path,
            'application/x-download',
            'attachment',
            os.path.basename(path),
        )
Send file to the HTTP client accessing ``/download`` URI.
cherrypy/tutorial/tut09_files.py