sanic/sanic
ashleysommer 72db1188c7 Add an option to the static() helper to switch on streaming for large files.
By default uses a 1M threshold.
ie. if the static file to serve is >= 1M it will stream the file.
This threshold value is configurable by passing an int instead of a bool to `stream_large_files` parameter of `static()`.
2017-05-20 09:56:05 +10:00
..
__init__.py Increment to 0.5.4 2017-05-08 17:44:23 -07:00
__main__.py Improved on wording 2017-04-27 03:16:38 -04:00
app.py Add an option to the static() helper to switch on streaming for large files. 2017-05-20 09:56:05 +10:00
blueprints.py add blueprint strict_slashes 2017-03-23 18:37:06 -07:00
config.py Remove timedRotatingFile log config 2017-05-11 11:18:59 +08:00
constants.py Add a pesky newline 2017-01-27 22:15:34 -06:00
cookies.py double if statement (#707) 2017-05-11 11:49:32 -07:00
exceptions.py added exception chain rendering in debug #675 2017-05-01 12:56:33 -04:00
handlers.py added exception chain rendering in debug #675 2017-05-01 12:56:33 -04:00
log.py Remove default_filter module, put into logging 2017-05-08 20:41:34 -07:00
request.py Merge pull request #731 from jrocketfingers/fix/token-missing-auth-headers 2017-05-17 13:10:12 -07:00
response.py Remove exception print(e) statement. 2017-05-19 13:00:01 +10:00
router.py expose matched request uri template 2017-04-29 02:39:56 +07:00
server.py Fix "TypeError: not all arguments converted during string formatting" 2017-05-13 17:35:04 +02:00
static.py Add an option to the static() helper to switch on streaming for large files. 2017-05-20 09:56:05 +10:00
testing.py Add traceback for better debugging 2017-04-11 16:02:57 -05:00
views.py Get rid of relative imports 2017-02-15 20:54:00 -06:00
websocket.py handle timeouts and disconnects properly 2017-02-27 22:35:28 -08:00
worker.py Gunicorn worker should not require uvloop 2017-05-15 00:01:51 +08:00