a guest Dec 18th, 2018 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- QString cTime = currTime.currentDateTimeUtc().toString("ddd, dd MMM yyyy hh:mm:ss");
- QTextStream os(socket); os << "HTTP/1.1 200 OKrn"
- "Content-Type: text/plainrn"
- "Date: " + cTime + " GMTrn"
- "Connection: closern"
RAW Paste Data