[Prev][Next][Index][Thread]

Re: follow redirections ?



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 ?


References: