summaryrefslogtreecommitdiff
path: root/tests/asgi
AgeCommit message (Collapse)Author
2022-05-31[4.1.x] Fixed #33754 -- Fixed crash with prematurely closed ASGI request body.Jonas Lundberg
Regression in 441103a04d1d167dc870eaaf90e3fba974f67c93. Backport of f1e0fc645bb0b2c15d1510c9a8501743297dec9d from main
2022-04-14Removed stale Windows asyncio test skips.Carlton Gibson
Underlying issue was fixed in Python 3.8.1, now many versions ago. https://bugs.python.org/issue38563
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-07-01Fixed #32889 -- Allowed per-request sync_to_async context in ASGIHandler .Allan Feldman
By using a asgiref's ThreadSensitiveContext context manager, requests will be able to execute independently of other requests when sync work is involved. Prior to this commit, a single global thread was used to execute any sync work independent of the request from which that work was scheduled. This could result in contention for the global sync thread in the case of a slow sync function. Requests are now isolated to their own sync thread.
2021-02-06Refs #32394 -- Changed STATIC_URL/MEDIA_URL to relative paths in tests and ↵Markus Holtermann
docs where appropriate.
2020-11-05Fixed #31550 -- Adjusted ASGI test_file_response for various Windows content ↵Christopher Keith
types.
2020-06-08Fixed #31594 -- Added ASGIStaticFilesHandler.get_response_async().Joshua Massover
2020-05-06Fixed #31515 -- Made ASGIHandler dispatch lifecycle signals with thread ↵Carlton Gibson
sensitive.
2020-03-18Fixed #31224 -- Added support for asynchronous views and middleware.Andrew Godwin
This implements support for asynchronous views, asynchronous tests, asynchronous middleware, and an asynchronous test client.
2020-03-05Refs #31224 -- Added autoconversion of test async methods.Andrew Godwin
2019-11-06Harmonized Windows checks in tests to a single style.Jon Dufresne
2019-10-24Fixed #30900 -- Skipped async-related tests on Windows using Python 3.8.0.Carlton Gibson
Refs https://bugs.python.org/issue38563.
2019-06-20Refs #30451 -- Added more tests for ASGIRequest and ASGIHandler.Mariusz Felisiak
2019-06-20Fixed #30451 -- Added ASGI handler and coroutine-safety.Andrew Godwin
This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django.