Re: [dev] [sw] Suckless web-framework

From: Nibble <nibble.ds_AT_gmail.com>
Date: Tue, 6 Apr 2010 21:38:54 +0200

On Tue, 6 Apr 2010 13:40:59 -0400
m g <miles.groman_AT_gmail.com> wrote:

> In reference to
> http://nibble.develsec.org/hg/sw/file/80e2f5765b48/sw.cgi ...
>
> Is there a reason on line 20 relies on javascript as opposed to
> something such as the <meta> tag?
>
> echo
> "<html><head><script>window.location=\"${PREFIX}${BIN}\";</script></head></html>"
>
> vs
>
> echo "<html><head><meta http-equiv=\"Location\"
> content=\"${PREFIX}${BIN}\" /></head></html>"
>

Thanks :) Now, the hg tip is using:

<meta http-equiv=\"Refresh\" content=\"0; ${PREFIX}${BIN}\">

Kind regards,
-- nibble
Received on Tue Apr 06 2010 - 19:38:54 UTC

This archive was generated by hypermail 2.2.0 : Tue Apr 06 2010 - 19:48:02 UTC