git://git.jankratochvil.net
/
MyWeb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support downloads-only non-validating tests.
[MyWeb.git]
/
Redirect.pm
diff --git
a/Redirect.pm
b/Redirect.pm
index
bff6fb9
..
871f65f
100644
(file)
--- a/
Redirect.pm
+++ b/
Redirect.pm
@@
-27,7
+27,9
@@
use My::Web;
use Apache2::Const qw(HTTP_MOVED_PERMANENTLY);
-our $HTML_TEST=0;
+our $HTML_TEST="download";
+our $HTML_TEST_RC=HTTP_MOVED_PERMANENTLY;
+our $HTML_TEST_QUERY_STRING="location=http://localhost/";
sub handler
{