diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-05-09 17:36:18 +0200 |
---|---|---|
committer | Sascha Roloff <sascha.roloff@huawei.com> | 2025-05-12 10:49:25 +0200 |
commit | 3d203cdfaa244cd0f197d2faed7de6b87e22314f (patch) | |
tree | 9b9800bb71c4257e2644b9eb10e2f4639a8a469e /doc/invocations-http-server | |
parent | 1152f08e7226be6862aceafe386d933d2adeead6 (diff) | |
download | justbuild-3d203cdfaa244cd0f197d2faed7de6b87e22314f.tar.gz |
Invocation server: explicitly set methods
While there, sort filter URLs
Diffstat (limited to 'doc/invocations-http-server')
-rwxr-xr-x | doc/invocations-http-server/server.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/invocations-http-server/server.py b/doc/invocations-http-server/server.py index 8b55ce11..9bae82d7 100755 --- a/doc/invocations-http-server/server.py +++ b/doc/invocations-http-server/server.py @@ -64,10 +64,10 @@ class InvocationServer: rule = werkzeug.routing.Rule self.routingmap = werkzeug.routing.Map([ rule("/", methods=("GET",), endpoint="list_invocations"), - rule("/filterinvocations/remote/prop/<hexidentifier:key>/<hexidentifier:value>", - endpoint="filter_remote_prop"), rule("/filterinvocations/context/<hexidentifier:key>/<hexidentifier:value>", - endpoint="filter_context"), + methods=("GET",), endpoint="filter_context"), + rule("/filterinvocations/remote/prop/<hexidentifier:key>/<hexidentifier:value>", + methods=("GET",), endpoint="filter_remote_prop"), rule("/blob/<hashidentifier:blob>", methods=("GET",), endpoint="get_blob"), |