hi all
i want send a http response to a browser that it navigate to a specific url that i want
can any one tell me what this response is??
thx
hi all
i want send a http response to a browser that it navigate to a specific url that i want
can any one tell me what this response is??
thx
Life is about making the right decisions and moving on.
To open given url in a system browser use QDesktopServices::openUrl.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
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.
hi Chris
thanks for reply
i know that i must use a status line with 300 series code,but i don't know what header is good for my work.
please tell me which header is good for this work?
thanks in advance.
Life is about making the right decisions and moving on.
thanks a lot...
Life is about making the right decisions and moving on.
Why didn't you volunteer that information in the first place rather than issue a general question with no specifics?
"Location" as wysota says and as documented under 301/302 in the page I linked to. You should also put a short HTML message and link in the response body.please tell me which header is good for this work?
Bookmarks