Lines Matching refs:serve_file
31 from cherrypy.lib.static import serve_file
592 return serve_file(fpath, "text/plain; charset=utf-8")
640 return serve_file(fpath, "text/plain; charset=utf-8")
714 return serve_file(fpath, "application/data")
776 return serve_file(fpath, "application/data")
1793 return serve_file(badpath, "text/plain; charset=utf-8")
1796 # Call a misbehaving serve_file
1849 return serve_file(badpath, "application/data")
1852 # Call a misbehaving serve_file
1893 return serve_file(badpath, "text/plain; charset=utf-8")
1915 """A method that imitates the functionality of serve_file(),
1943 cherrypy.log("NASTY serve_file: truncated file")
1954 cherrypy.log("NASTY serve_file: prepend garbage")
1966 cherrypy.log("NASTY serve_file: flip bits")