Is it possible to set a site specific Referer, the same way as site specific UserAgents are set? I already saw that the UserAgents are stored in kio_httprc. I would like to write a little patch that reads Referers from this file (kio_httprc) the same way as it reads the UserAgents:
Something like:
[somesite.com]
UserAgent=Mozilla/4.0 (compatible; MSIE 5.5; Windows 9
Referer=http://www.somereferer.com
The problem is that I can't seem to find in which sourcefile the UserAgent from kio_httprc is read and then set for the httprequest. There are so many possible places (konqueror, libkonq, kio_http, kcontrol, ...).
Does anyone know where this file is?
And does anyone with a lot of knowledge about the workings of Konqueror/kio_http know if what I want can be done as easily as I think?
Thanks in advance for your interest!