Thiago Macieira wrote: > Joris Guisson wrote: > >> Hi, >> >> How can I change the fields in a HTTP request header (User-Agent >> string mostly), with KIO::get ? I have allready tried >> KIO::Job::setMetaData, but when I check the packets (tcpdump + >> ethereal), the User-Agent string still is the one used by konqueror. >> > > By setting the UserAgent metadata. > > There are a few headers that you can set with metadata directly. Others, > you need the CustomHTTPHeaders metadata, separated by \r\n. > > You have a good example here: http://websvn.kde.org/branches/KDE/3.5/kdenetwork/kopete/protocols/msn/msnsecureloginhandler.cpp?rev=454075&view=auto Cheers >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<