static final public void handleBlock(request req) throws IOException
{
	cacheobject.c_block.incrementAndGet();
	if(req.method==httpreq.REQUEST_POST)
		req.keepalive=false; // disable keepalive on POST reply
	if(custom403==null) 
		req.send_error(403,"Forbidden by rule");
	else
		if(custom403.charAt(0)=='0') {
			if(req.getURL().endsWith(".js")) {
				req.make_headers(200,"text/html",null,null,1,new Date().getTime(),0,null);
				req.send_headers();
				req.sendString(" ");
			}
			else
			{
				req.make_headers(200,"image/gif",null,null,request.GIF.length,cacheobject.VINTAGE_DATE,0,"\"Builtin-gif\"");
				req.send_headers();
				req.sendBytes(request.GIF);
			}
		}
		else
			if(custom403.charAt(0)=='-') {
				req.send_error(204,"No Content");
			}
			else
			{  
				req.make_headers(301,null,null,custom403,0,new Date().getTime(),0,null);
				req.send_headers();
			}

	req.close();
}