From 5615498846307cb8f08e5485e5091cda7969d502 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 24 Apr 2025 11:51:32 +0200 Subject: Invocation server: support download of all blobs For many text files it is useful to read them directly in the browser. However, many files that are better analysed by machines (like large repository configurations) also come as plain-text files. Therefore, always offer to download a file currently being viewed. Use the URL scheme in such a way that the name to download the file as can be specified; in this way, we are prepared if we decide to also log the artifacts to be built and offer those to be downloaded. --- doc/invocations-http-server/templates/blob.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/invocations-http-server/templates') diff --git a/doc/invocations-http-server/templates/blob.html b/doc/invocations-http-server/templates/blob.html index 2a64d064..d88368fe 100644 --- a/doc/invocations-http-server/templates/blob.html +++ b/doc/invocations-http-server/templates/blob.html @@ -6,5 +6,7 @@ Blob {{ name | e }} {% block content %}

Blob {{ name | e }}

+download +
{{ data | e}}
{% endblock %} -- cgit v1.2.3