Commit Graph

6 Commits

Author SHA1 Message Date
Simon Willison 37d9d00655 Correctly handle static files larger than 4096 bytes (#33)
* Fixed bug in FileResponse with files larger than 4096 bytes (single message chunk)
* Failing test for static file larger than 4096 bytes
2018-07-26 14:41:05 +01:00
Tom Christie 2ed6768352 Add StaticFile and StaticFiles ASGI applications 2018-07-12 13:13:44 +01:00
Tom Christie 14379e2240 Add Content-Length, Last-Modified and ETag headers to FileResponse 2018-07-12 11:53:07 +01:00
Tom Christie 2e0bd33f59 Use getlist, instead of get_list 2018-07-11 16:30:40 +01:00
Tom Christie 704b582d89 Performance improvements 2018-07-10 15:19:51 +01:00
Tom Christie 5a9fe3f048 Initial commit 2018-06-25 14:15:32 +01:00