#NEWLINE# def get_file_response( self , path , request ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# if ( not isinstance ( full_path , basestring ) ) : #NEWLINE# #INDENT# path = '/' . join ( path ) #NEWLINE# #UNINDENT# full_path = find_file ( self . search_paths , path ) #NEWLINE# if ( full_path is None ) : #NEWLINE# #INDENT# raise NotFound ( is_breaking = False ) #NEWLINE# #UNINDENT# #UNINDENT# except ( ValueError , IOError , OSError ) : #NEWLINE# #INDENT# raise Forbidden ( is_breaking = False ) #NEWLINE# #UNINDENT# bfr = build_file_response #NEWLINE# resp = bfr ( full_path , cache_timeout = self . cache_timeout , cached_modify_time = request . if_modified_since , mimetype = None , default_text_mime = self . default_text_mime , default_binary_mime = self . default_binary_mime , file_wrapper = request . environ . get ( 'wsgi.file_wrapper' , FileWrapper ) ) #NEWLINE# return resp