starlette/tests
Tom Christie 29584e25fc
Fix CORS allowed origins (#511)
* Add test to expose CORSMiddleware.simple_headers access-control-allow-origin leak between requests

* Fix CORSMiddleware.simple_response to use self.simple_headers default before mutating headers based on request parameters

* lint: forgot to run black locally
2019-05-13 15:24:28 +01:00
..
middleware Fix CORS allowed origins (#511) 2019-05-13 15:24:28 +01:00
statics Staticfiles packages (#415) 2019-02-26 14:38:05 +00:00
.ignore_lifespan Reinstate Lifespan Middleware, for Responder (#405) 2019-02-20 14:40:34 +00:00
__init__.py Staticfiles packages (#415) 2019-02-26 14:38:05 +00:00
test_applications.py flake8 fixes (#512) 2019-05-13 15:22:59 +01:00
test_authentication.py flake8 fixes (#512) 2019-05-13 15:22:59 +01:00
test_background.py ASGI 3 (#435) 2019-03-19 16:03:19 +00:00
test_config.py config: cast=bool: handle "0" and "1" as False/True (#429) 2019-03-08 19:28:08 +00:00
test_database.py flake8 fixes (#512) 2019-05-13 15:22:59 +01:00
test_datastructures.py Version 0.11 (#402) 2019-02-19 12:54:57 +00:00
test_endpoints.py WebSockets now default to sending JSON using text dataframes (#349) 2019-01-25 15:27:39 +00:00
test_exceptions.py ASGI 3 (#435) 2019-03-19 16:03:19 +00:00
test_formparsers.py flake8 fixes (#512) 2019-05-13 15:22:59 +01:00
test_graphql.py ASGI 3 (#435) 2019-03-19 16:03:19 +00:00
test_requests.py ASGI 3 (#435) 2019-03-19 16:03:19 +00:00
test_responses.py Make StreamingResponse compatible with normal iterators (#462) 2019-04-03 10:29:00 +01:00
test_routing.py ASGI 3 (#435) 2019-03-19 16:03:19 +00:00
test_schemas.py flake8 fixes (#512) 2019-05-13 15:22:59 +01:00
test_staticfiles.py flake8 fixes (#512) 2019-05-13 15:22:59 +01:00
test_templates.py flake8 fixes (#512) 2019-05-13 15:22:59 +01:00
test_testclient.py lint: forgot to run black locally 2019-05-13 12:09:42 +00:00
test_websockets.py WebSockets now default to sending JSON using text dataframes (#349) 2019-01-25 15:27:39 +00:00