[Qt-interest] Bug in QUrl?

Simarillion simarillion at gmx.de
Mon Nov 30 15:00:05 CET 2009


In that lib it is set to:
const QString XRClient::USER_AGENT = "QuteXmlRpc/0.0";

Greets
Michael

Am Montag, 30. November 2009 14:39:24 schrieb luis navarro:
> 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
> 



More information about the Qt-interest-old mailing list