06.08.2014, 09:30, "Thiago Macieira" <thiago.macie...@intel.com>: > On Tuesday 05 August 2014 10:01:30 Lorne Sturtevant wrote: >>> You can't do what you want. QUrl will normalise what it has to. >> That's what I had feared. I was digging through the source I couldn't >> find a hidden "force do things wrong" flag. >>> So just make sure that you are running Qt 5.3, since there were bugs in >>> previous versions. If that doesn't work, fix your server. >> If it was my server, I'd fix it in an instant. But unfortunately it's a >> 3rd party server which I can't modify. While I try to get them to fix >> it, I think I'll just use curl spawned from QProcess. > > Just open a QTcpSocket to the server and send the GET command. > > And add this comment to your source code: > > // This looks like HTTP but isn't! > // This is actually a binary protocol, since it doesn't conform > // to RFC 2616 and RFC 3896.
To process server response coming to QTcpSocket one can use http-parser library [1] [1] https://github.com/joyent/http-parser -- Regards, Konstantin _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest