starlette/tests/middleware
Igor Nehoroshev eb316509b5 Add security flags to session cookie (#276)
* Add security flags to session cookie

Flags: Secure, HttpOnly and SameSite=lax

* Remove Secure flag

* Add options for security flags in SessionMiddleware

* Add tests for secure session

* Lint files that Travis would like to reformat

Only related to pull request

* Return space between imports

* Add documentation for session security flags options

* Format default values
2018-12-17 16:33:41 +00:00
..
test_base.py Add `@app.middleware(...)` decorator (#183) 2018-11-06 12:19:52 +00:00
test_cors.py Add GZip middleware (#111) 2018-10-15 12:08:10 +01:00
test_errors.py Rejig ExceptionMiddleware and ServerErrorMiddleware (#193) 2018-11-08 11:59:15 +00:00
test_gzip.py Add GZip middleware (#111) 2018-10-15 12:08:10 +01:00
test_https_redirect.py Add GZip middleware (#111) 2018-10-15 12:08:10 +01:00
test_lifespan.py Lifespan as middleware (#225) 2018-11-28 11:51:17 +00:00
test_session.py Add security flags to session cookie (#276) 2018-12-17 16:33:41 +00:00
test_trusted_host.py Add www_redirect behavior to TrustedHostsMiddleware (#181) 2018-11-05 11:38:20 +00:00
test_wsgi.py remove unused imports (#228) 2018-11-21 19:12:44 +00:00