~mdw
/
tgal
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38a867
)
mason/dhandler: Announce source code through `X-AGPL-Source' HTTP header.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 12 May 2022 10:52:07 +0000
(11:52 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 12 May 2022 10:52:07 +0000
(11:52 +0100)
mason/dhandler
patch
|
blob
|
blame
|
history
diff --git
a/mason/dhandler
b/mason/dhandler
index
88febcf
..
2383d6b
100755
(executable)
--- a/
mason/dhandler
+++ b/
mason/dhandler
@@
-324,6
+324,7
@@
use Data::Dumper;
elsif (-d $st) { $comp = ".contact"; }
elsif (-f $st) { $comp = ".image"; }
else { $comp = ".not-found"; }
+ $r->header_out("X-AGPL-Source" => $SRCURL);
$m->comp($comp, path => $path);
</%init>
%