Alexander Botello
150c7092e5
StaticFiles will check if directory exists upon instantiation ( #195 )
...
* Add check_dir parameter
* Add test coverage for check_dir
* Update documentation
* linting
* Remove extra space
2018-11-08 09:33:20 +00:00
Johan Zietsman
78e40ba13e
Fixes to static files documentation. ( #162 )
...
* I fixed a grammar error. The example code did not work, since there are no Path and PathPrefix classes in starlette.routing. I replaced PathPrefix with Mount to get it to work.
* I fixed a spelling error.
2018-10-30 13:03:40 +00:00
Alexander Botello
cdb08bc644
Drop support for `StaticFile` ( #145 )
...
* Add runtime checks inside FileResponse w/ tests
* Drop support of StaticFile
* update documentation
2018-10-28 18:04:17 +00:00
Tom Christie
8245768f81
Use 405 for Method Not Allowed ( #53 )
2018-08-30 14:42:39 +01:00
Tom Christie
352ccda556
Update docs
2018-08-29 11:17:09 +01:00