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

2013-12-01 Thread Lucas Betschart
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:password@127.0.0.1:8462http://127.0.0.1:8462/ /method?key=value From

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

2013-12-01 Thread Thiago Macieira
On domingo, 1 de dezembro de 2013 17:11:20, Lucas Betschart wrote: 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:

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

2013-12-01 Thread Konrad Rosenbaum
Hi, On Sunday 01 December 2013, Lucas Betschart wrote: 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:

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

2013-12-01 Thread Tony Rietwyk
Hi Konrad / Lucas -Original Message- Sent: Monday, 2 December 2013 7:27 AM ... In short: if you do not have the need to access every bit directly use an existing server implementation and an easier way to communicate with it. For example Apache has modules for the FCGI and SCGI

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

2013-12-01 Thread Konrad Rosenbaum
Hi, On Monday, Monday 02 December 2013 at 01:49, Tony Rietwyk wrote: In short: if you do not have the need to access every bit directly use an existing server implementation and an easier way to communicate with it. For example Apache has modules for the FCGI and SCGI protocols. In this