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

Module streamer

source code

This file is part of web2py Web Framework (Copyrighted, 2007-2010). Developed by Massimo Di Pierro <mdipierro@cs.depaul.edu>. License: GPL v2

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