On Thursday 26 February 2015 18:56:31 Ilya Kowalewski wrote:
> Hiho,
> 
> I am looking for a way to fetch some resources from WebCore sources
> (QtWebKit) with QNAM. I want it to be associated with user-agent of
> QWebView and referrer of QWebPage. Is there a way to handle this?

Hello Ilya

This is not a question for the development mailing list, so I've bcc'ed it and 
moved it to interest.

You can set the User-Agent and Referrer fields of your request. See 
QNetworkRequest::setHeader.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to