Package web2py :: Package gluon :: Module streamer
[hide private]
[frames] | no frames]

Module streamer

source code

This file is part of the web2py Web Framework Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu> License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)

Functions [hide private]
 
streamer(stream, chunk_size=65536, bytes=1) source code
 
stream_file_or_304_or_206(static_file, chunk_size=65536, request=1, headers={}, error_message=1) source code
Variables [hide private]
  regex_start_range = re.compile(r'\d+(?=-)')
  regex_stop_range = re.compile(r'(?<=-)\d+')
  DEFAULT_CHUNK_SIZE = 65536