Ok, the GET part is really easy, you would not need the server I have written for it, as it would be overkill. (I would imaging you do not need pipelining/multithreadding and all that stuff ;-)
But a very simple server (tailored to your needs) is not too hard to write:
- Create a TcpServer,
- listen for requests,
- read the request,
- parse the request using QHttpRequestHeader,
- analyze it,
- send the response header
- send the file (i.e. read from a qfile and copy the bytes to the socket)
- close the connection
To learn a bit about Http check out this page:
HTTP Made Really Easy