On Thursday 10 August 2006 10:24, bombe at freenetproject.org wrote:
> Author: bombe
> Date: 2006-08-10 09:24:28 +0000 (Thu, 10 Aug 2006)
> New Revision: 10018
> 
> Modified:
>    trunk/freenet/src/freenet/clients/http/QueueToadlet.java
> Log:
> refresh queue page every 30 seconds
> 
> Modified: trunk/freenet/src/freenet/clients/http/QueueToadlet.java
> ===================================================================
> --- trunk/freenet/src/freenet/clients/http/QueueToadlet.java  2006-08-10 
08:33:37 UTC (rev 10017)
> +++ trunk/freenet/src/freenet/clients/http/QueueToadlet.java  2006-08-10 
09:24:28 UTC (rev 10018)
> @@ -433,7 +433,9 @@
>                       }
>               }
>               
> -             this.writeReply(ctx, 200, "text/html", "OK", 
> pageNode.generate());
> +             MultiValueTable pageHeaders = new MultiValueTable();
> +             pageHeaders.put("Refresh", "30; URL=.");
> +             this.writeReply(ctx, 200, "text/html", "OK", pageHeaders, 
pageNode.generate());
>       }


The HTTP Refresh header isn't part of the HTTP spec, and it doesn't work on 
Konqueror.

Either way, what happens if 30 seconds runs out whilst the user is filling in 
the 'Insert File' form at the bottom?


Dave

Reply via email to