Commit Graph

7 Commits

Author SHA1 Message Date
Tom Christie 244916e1de
Support clearing sessions (#158)
* Use isort for consistent import ordering

* Add SessionMmiddleware support

* Add SessionMiddleware support

* Support clearing sessions

* Version 0.6.2
2018-10-29 16:43:40 +00:00
Tom Christie be6469b381 Docs on BaseHTTPMiddleware 2018-10-29 13:24:37 +00:00
Tom Christie f53b172f8a
Domain wildcards for trusted host (#151)
* Support domain wildcards with TrustedHostMiddleware

* Support domain wildcards with TrustedHostMiddleware

* Include domain wildcards in TrustedHostMiddleware docs
2018-10-29 09:22:13 +00:00
Alexander Botello 88fe1799c7 Fix example import statement (#123) 2018-10-18 08:38:07 +01:00
Tom Christie 097152be5a
Add GZip middleware (#111) 2018-10-15 12:08:10 +01:00
Tom Christie 139753f857
Add support for `app.on_event("startup")` and `app.on_event("cleanup")`. (#98)
* Push black linting into ./scripts/test Fix some annotations etc.

* Skip black on 3.7

* Fix script

* Blergh. Shell equality tests are weird

* Attempt to fix equality check

* Document 'allow_origin_regex'

* Support app.on_event('startup') and app.on_event('cleanup')

* Nicer decorator handling for on_event

* Add documentation for app.on_event()
2018-10-09 15:47:51 +01:00
Tom Christie c98c15005e
Middleware and CORS support (#83)
* Tweaks to URL datastructure

* Linting

* Add Middleware

* Type annotations

* CORS support

* Add CORS support

* Fix code example
2018-10-05 16:38:02 +01:00