If you are asking what your program, acting as an HTTP server, should return then you need to send a 300 series HTTP Status code. This has nothing to do with Qt.