[Qt-interest] Bug in QUrl?

luis navarro luis.navarro at jro.igp.gob.pe
Mon Nov 30 14:39:24 CET 2009


Hi there. I have a question. On code posted below, What's the USER_AGENT
entity? I'd like to know because i have a similar problem with an url:
http://user:xxx@mypowerswitch/outlet?1=ON. Maybe it could help me.

Thanks.
Luis

2009/11/30 Simarillion <simarillion at gmx.de>

> Thanks for your answers,
>
> The problem is I'm using qutexrlib QT-based XML-RPC library for making RPC
> calls. Perhaps it is a bug or missing feature in qutexrlib that queries are
> not prcessed. In that lib is only set:
>
>    /* make the buffer and make the call */
>    QHttpRequestHeader req_head("POST",_url.path());
>    req_head.setValue("Host",_url.host());
>    req_head.setValue("User-Agent",USER_AGENT);
>
> If I change it to:
>
>    QHttpRequestHeader req_head("POST","/?q=services/xmlrpc");
>
> it works.
>
> Thanks again.
> Michael
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Atte.
Luis Navarro Domínguez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091130/be9115b3/attachment.html 


More information about the Qt-interest-old mailing list