]> git.ipfire.org Git - thirdparty/httpx.git/commit
Deprecate `app=...` in favor of explicit `WSGITransport`/`ASGITransport`. (#3050)
authorTom Christie <tom@tomchristie.com>
Fri, 2 Feb 2024 13:29:41 +0000 (13:29 +0000)
committerGitHub <noreply@github.com>
Fri, 2 Feb 2024 13:29:41 +0000 (13:29 +0000)
commitcabd1c095e52e2f67ab63ec17941d3a539d7c877
tree889bbd1a370f10b105234e8229a5184995d4745c
parent6f461522a5c58839c31be3c82b7bd47fba77109b
Deprecate `app=...` in favor of explicit `WSGITransport`/`ASGITransport`. (#3050)

* Deprecate app=... in favour of explicit WSGITransport/ASGITransport

* Linting

* Linting

* Update WSGITransport and ASGITransport docs

* Deprecate app

* Drop deprecation tests

* Add CHANGELOG

* Deprecate 'app=...' shortcut, rather than removing it.

* Update CHANGELOG

* Fix test_asgi.test_deprecated_shortcut
CHANGELOG.md
docs/advanced/transports.md
docs/async.md
httpx/_client.py
tests/test_asgi.py
tests/test_wsgi.py