RE: follow redirections ?

Hello Jose,

yes, i've forgotten to add the filters.

No i try to find an URL wich is temporary moved,
to test my app. That's not so easy...

Many Thanks for the fastest response i've ever seen

 ;-)))

Martin Ostrowski (mostrowski@marlowe.iosys.de)


-----Original Message-----
From:	jose.kahan@w3.org [SMTP:jose.kahan@w3.org]
Sent:	Wednesday, March 26, 1997 1:21 PM
To:	Martin Ostrowski
Cc:	www-lib@w3.org
Subject:	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 ?

Received on Wednesday, 26 March 1997 09:02:52 UTC