Allura/allura/model/filesystem.py
def serve(self, embed=True):
        '''Sets the response headers and serves as a wsgi iter'''
        gridfs_file = self.rfile()
        return utils.serve_file(gridfs_file, self.filename, self.content_type,
                                last_modified=self._id.generation_time,
                                size=gridfs_file.length,
                                embed=embed)
Sets the response headers and serves as a wsgi iter
Sets the response headers and serves as a wsgi iter
Sets the response headers and serves as a wsgi iter
def serve(self, embed=True):
        gridfs_file = self.rfile()
        return utils.serve_file(gridfs_file, self.filename, self.content_type,
                                last_modified=self._id.generation_time,
                                size=gridfs_file.length,
                                embed=embed)
def serve ( self , embed = True ) : gridfs_file = self . rfile ( ) return utils . serve_file ( gridfs_file , self . filename , self . content_type , last_modified = self . _id . generation_time , size = gridfs_file . length , embed = embed )
Sets the response headers and serves as a wsgi iter
Sets the response headers and serves as a wsgi iter
'''Sets the response headers and serves as a wsgi iter'''
self
embed