[Interest] Get the username:password part of a HTTP request from QTcpSocket

Lucas Betschart lucasbetschart at gmail.com
Sun Dec 1 17:11:20 CET 2013


I have a HTTP-Server based on QTcpServer.

Do you have an idea how I could get the authority part of the HTTP request?
A request might look like this:

>From the incomming QTcpSocket I can only get the IP, the port number and
the data (which includes the query string for HTTP but not the
authentication part). How can I get the rest of the request?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131201/13c958e5/attachment.html>

More information about the Interest mailing list