proxy.py/docs
Abhinav Singh 7195b07b24
Add support for dynamic reverse proxy routing (#1180)
* Add support for dynamic reverse proxy routing.

Plugins must implement the `handle_route(self, request, pattern) -> Url`
method from the base class to provide a choice of upstream url to serve.

This work is backward compatible a.k.a. Old style static route patterns
with hardcoded upstream urls will continue to work as-is.

See `ReverseProxyBasePlugin` documentation for more details.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Address type issues

* Fix spellcheck

* Attempt to solve type errors

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Py3.8 also doesnt allow subscriptable pattern type

* Remove debug print

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-11 22:44:27 +05:30
..
_ext [isort] Lib modules (#1016) 2022-01-20 15:34:54 +05:30
changelog-fragments.d Fix Towncrier link (#1119) 2022-04-10 05:43:55 +05:30
contributing Integrate Towncrier configuration (#823) 2021-11-29 21:06:01 +05:30
pkg Add initial Sphinx docs 2021-11-18 01:36:13 +01:00
changelog.md v2.4.0rc3 (#882) 2021-12-19 21:30:43 +05:30
conf.py Add support for dynamic reverse proxy routing (#1180) 2022-06-11 22:44:27 +05:30
glossary.md Add initial Sphinx docs 2021-11-18 01:36:13 +01:00
index.md Integrate Towncrier configuration (#823) 2021-11-29 21:06:01 +05:30
requirements.in Fix `myst_parser` config. Ref https://github.com/executablebooks/MyST-Parser/issues/519\#issuecomment-1037239655 (#1128) 2022-04-20 15:54:10 +00:00
requirements.txt pip prod(deps): bump furo from 2022.3.4 to 2022.4.7 (#1143) 2022-05-18 11:21:38 +05:30
spelling_wordlist.txt Update defaults for `--hostname` and `--local-executor` (#905) 2021-12-25 17:41:15 +05:30