starlette/tests
ilunev 0ac60bbeb2
StaticFiles: Fix cache validation bug for deleted files in html mode (#1023)
* StaticFiles: Fix cache validation bug for deleted files in html mode

Previously StaticFiles would return 304 for a deleted file if its
Last-Modified date was the same as that of 404.html

* Use black formatter

Co-authored-by: Jamie Hewland <jhewland@gmail.com>
2021-02-05 20:15:25 +00:00
..
middleware Fix middleware traceback fetching on Python 3.8+, fix ResourceWarnings in TestClient, fix CI build (#1132) 2021-01-31 12:43:07 +01:00
statics Staticfiles packages (#415) 2019-02-26 14:38:05 +00:00
__init__.py Staticfiles packages (#415) 2019-02-26 14:38:05 +00:00
test_applications.py Support generator function to manage startup/shutdown. (#799) 2020-05-04 11:31:54 +01:00
test_authentication.py Update CI scripts to match httpcore (#1043) 2020-09-06 12:08:07 +02:00
test_background.py ASGI 3 (#435) 2019-03-19 16:03:19 +00:00
test_config.py Ignore gnarly type check in WSGI implementation (#756) 2019-12-17 11:14:57 +00:00
test_database.py flake8 fixes (#512) 2019-05-13 15:22:59 +01:00
test_datastructures.py configure pytest to be stricter (#1040) 2020-09-11 11:19:47 +02: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 Add HTTPException.__repr__ (#628) 2019-10-15 13:34:49 +01:00
test_formparsers.py Update CI scripts to match httpcore (#1043) 2020-09-06 12:08:07 +02:00
test_graphql.py Use and pin black 20 (#1042) 2020-09-05 15:16:56 +02:00
test_requests.py Update CI scripts to match httpcore (#1043) 2020-09-06 12:08:07 +02:00
test_responses.py Remove UJSONResponse (#1047) 2020-11-08 22:49:12 +02:00
test_routing.py Fix functools.partial async handlers for classmethods (#1106) 2021-02-02 10:30:30 +00:00
test_schemas.py flake8 fixes (#512) 2019-05-13 15:22:59 +01:00
test_staticfiles.py StaticFiles: Fix cache validation bug for deleted files in html mode (#1023) 2021-02-05 20:15:25 +00:00
test_templates.py flake8 fixes (#512) 2019-05-13 15:22:59 +01:00
test_testclient.py Version 0.13.3 (#899) 2020-04-15 12:20:51 +01:00
test_websockets.py Websocket iter (#838) 2020-02-20 15:43:03 +00:00