Radoslaw Zielinski <[EMAIL PROTECTED]> writes:
> How do I add a header to every outgoing request? I need it for the
> Accept-Language header, which I want to set to "pl,en". My browser
> (links 0.96) doesn't add it.
There is no feature in WWWOFFLE that will add a header to all
requests. It is an item that I have on my TODO list though.
If you wanted to make a quick change yourself you just need to add the
following line into the file parse.c in the function ModifyRequest()
AddToHeader(request_head,"Accept-Language","pl,en");
You should put it just below the following line:
AddToHeader(request_head,"Host",Url->host);
When you recompile and reinstall you should get the result that you
want.
--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop [EMAIL PROTECTED]
http://www.gedanken.demon.co.uk/
WWWOFFLE users page:
http://www.gedanken.demon.co.uk/wwwoffle/version-2.6/user.html