Lucas Betschart
2013-12-01 16:11:20 UTC
Hi
I have a HTTP-Server based on QTcpServer.
Do you have an idea how I could get the authority part of the HTTP request?
(https://en.wikipedia.org/wiki/URI_scheme#Generic_syntax)
A request might look like this:
http://username:***@127.0.0.1:8462<http://127.0.0.1:8462/>
/method?key=value
I have a HTTP-Server based on QTcpServer.
Do you have an idea how I could get the authority part of the HTTP request?
(https://en.wikipedia.org/wiki/URI_scheme#Generic_syntax)
A request might look like this:
http://username:***@127.0.0.1:8462<http://127.0.0.1:8462/>
/method?key=value