Commit Graph

8 Commits

Author SHA1 Message Date
Tom Christie 7f8cd04173
Version 0.13 (#704)
* Version 0.13

* Fix misnamed requirement

* Updating routing docs

* Update routing docs

* Update docs

* Simpler Middleware signature

* Update middleware docs

* Update exception docs

* Allow 'None' in middleware lists, for easy disabling of middleware.

* Update README
2019-11-13 12:25:18 +00:00
Mantas Zimnickas 3cd04d9ead Update docs about html mode for static files (#624) 2019-10-15 13:40:56 +01:00
Tom Christie 09fc598288
Staticfiles packages (#415)
* Support StaticFiles(packages=[...])

* Add StaticFiles(packages=...) support

* Add StaticFiles(packages=...) support
2019-02-26 14:38:05 +00:00
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