Re: (pdf) download size

mi <[email protected]>
Newsgroups gmane.network.wwwoffle.user
Message-ID <20040722164746.78e26d21@woody>
btw. if 'matching' works like bash "grep", it should be sth. like

if(shExpMatch(url,"*.pdf$")

....right ?


mi <[email protected]>:
>     if(shExpMatch(url,"*.pdf") || (shExpMatch(url,"*.zip"))
> 	return "DIRECT";
> 
>  else
>     if((url.substring(0, 5) == "http:") || (url.substring(0, 4) == "ftp:"))
>        return "PROXY localhost:8080; DIRECT";
>     else
>        return "DIRECT";
> }

-- 
mi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.