web_fileresponse

Module Contents

Classes

SendfileStreamWriter(self,*args,**kwargs)
FileResponse(self,path,chunk_size=None,*args,**kwargs) A response object can be used to send files.
class SendfileStreamWriter(*args, **kwargs)
__init__(*args, **kwargs)
_write(chunk)
_sendfile_cb(fut, out_fd, in_fd, offset, count, loop, registered)
sendfile(fobj, count)
write_eof(chunk=None)
class FileResponse(path, chunk_size=None, *args, **kwargs)

A response object can be used to send files.

__init__(path, chunk_size=None, *args, **kwargs)
_sendfile_system(request, fobj, count)
_sendfile_fallback(request, fobj, count)
prepare(request)