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,

HTNet_addAfter (HTRedirectionFilter, "http://*", NULL, HT_PERM_REDIRECT,

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,


In our previous episode, Martin Ostrowski said:
> How can i force my libwww-app to follow
> Permanent and temporary  redirections ?