[Interest] How to append data to webkit POST?
Hi, there! I'm developing a custom browser which I need to append local device ID to every POST method using webkit. But I've no idea how to do this. In .net there is a delegate named BeforeNavigate2 which I could add new Key-Values to POST data. In Qt webkit I found some functions like QNetworkAccessManager::createRequest() and QWebPage::acceptNavigationRequest() I think the request parameter should be the one I need. But I'm not sure. And request is const, too. I need to convert with const_cast. Could you tell me if I could append custom data to request? If I could, how should I do it, if not, what should I do? Thank you all! Cheng Liang Nanjing, China http://www.devbean.net___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] How to append data to webkit POST?
On 15 January 2013 09:50, 程梁 devb...@outlook.com wrote: Could you tell me if I could append custom data to request? If I could, how should I do it, if not, what should I do? You can install a custom QNetworkAccessManager on the QWebPage and do any kind of modification you need. -- Giuseppe D'Angelo ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] How to append data to webkit POST?
Le Tue, 15 Jan 2013 09:50:19 +, devb...@outlook.com écrivait: Could you tell me if I could append custom data to request? See : http://lists.qt.nokia.com/public/qt-interest/2010-February/019011.html Quentin ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest