21998: Try to find original request's scheme in URL generated for wget.
authorZoë Ma <zoe.ma@curii.com>
Tue, 23 Jul 2024 10:34:04 +0000 (18:34 +0800)
committerZoë Ma <zoe.ma@curii.com>
Thu, 25 Jul 2024 02:56:42 +0000 (10:56 +0800)
commite85c07b9071a23457bef9e336ecd3d9cf5ac27a2
tree6787ea9ce260dc736f4a7fc4799293995985466a
parent70e435ff8d86a2ee4b4535e42fb1692166f5cc3c
21998: Try to find original request's scheme in URL generated for wget.

In the "wget" example generated on the directory listing page, try to
make the scheme part in the URL argument closer to the original
request's, by using the value of "X-Forwarded-Proto" header if it's
valid.

Arvados-DCO-1.1-Signed-off-by: Zoë Ma <zoe.ma@curii.com>
services/keep-web/handler.go