W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1997

Re: follow redirections ?

From: <jose.kahan@w3.org>
Date: Wed, 26 Mar 1997 14:21:09 +0100 (MET)
Message-Id: <199703261321.OAA24423@tuvalu.inrialpes.fr>
To: mostrowski@marlowe.iosys.de (Martin Ostrowski)
Cc: www-lib@w3.org
Hello Martin,

Maybe you forgot to add the filters?

When you initialize libwww, add some lines looking like:

HTNet_addAfter (HTRedirectionFilter, "http://*", NULL, HT_TEMP_REDIRECT,
		   5);

HTNet_addAfter (HTRedirectionFilter, "http://*", NULL, HT_PERM_REDIRECT,
                   5);

FYI, you can find this filter in module HTFilter.c. More examples of filter
initializations are given in the HTInit.c module.

Hope this helps you out,

-Jose

In our previous episode, Martin Ostrowski said:
> 
> How can i force my libwww-app to follow
> Permanent and temporary  redirections ?
Received on Wednesday, 26 March 1997 08:21:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:27 GMT