]> git.ipfire.org Git - thirdparty/starlette.git/commit
Add support for server push 629/head
authorJeremy Lainé <jeremy.laine@m4x.org>
Sun, 1 Sep 2019 22:36:19 +0000 (00:36 +0200)
committerJeremy Lainé <jeremy.laine@m4x.org>
Mon, 2 Sep 2019 12:01:30 +0000 (14:01 +0200)
commita46747377b0b60ea4fd8386f52a058a7950ea0a3
treef518f77a4017879a64bda9d85979ad05b51ec3d1
parentce2883e28d16614679d04d8a98265428cfecab58
Add support for server push

This adds support for HTTP/2 and HTTP/3 server push by adding a
Request.send_push_promise method, which signals to push-enabled
servers that a push should be sent.
docs/server-push.md [new file with mode: 0644]
mkdocs.yml
starlette/requests.py
starlette/routing.py
tests/test_requests.py