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=global_settings.applications_parent) | source code

stream_file_or_304_or_206(static_file, chunk_size=65536, request=global_settings.applications_parent, headers=`{``}`, error_message=global_settings.applications_parent) | source code

Variables | [hide private]

| regex_start_range = `re.compile(r'\d`+``(?=`-`)`')`
| regex_stop_range = `re.compile(r'`(?<=`-`)`\d`+`')`
| DEFAULT_CHUNK_SIZE = `65536`