Commit Graph

7 Commits

Author SHA1 Message Date
Thomas Grainger d222b87cb4
TestClient accepts backend and backend_options as arguments to constructor (#1211)
as opposed to ClassVar assignment 

Co-authored-by: Jamie Hewland <jhewland@gmail.com>
Co-authored-by: Jordan Speicher <jordan@jspeicher.com>
Co-authored-by: Jordan Speicher <uSpike@users.noreply.github.com>
2021-06-28 21:36:13 +01:00
Jordan Speicher b6f3578bb2
Updates to python 3.6+ syntax (#1189)
* Convert comment type hints to annotations

* Update to python 3.6+ syntax

* Explicitly state response type annotation

* Explicitly define queue generic type
2021-05-27 19:54:43 +01:00
子休 85b9c2642b
fix wsgi PATH_INFO encoding (#998)
* fix wsgi PATH_INFO encoding

* encode root_path

* wsgi middleware: Add test for PATH_INFO & SCRIPT_NAME encoding

Co-authored-by: Jamie Hewland <jhewland@gmail.com>
2020-07-15 20:27:17 +02:00
Daniel Hahler e0e2621add flake8 fixes (#512) 2019-05-13 15:22:59 +01:00
Alexander Botello 95517b7002 remove unused imports (#228) 2018-11-21 19:12:44 +00:00
Tom Christie bcf876c686
Use isort for consistent import ordering (#156) 2018-10-29 14:46:42 +00:00
Tom Christie 860fdf6c8b
Add WSGI middleware (#120)
* Add WSGI middleware

* Fix for WSGI middleware tests
2018-10-17 16:54:02 +01:00