fix http version test

TODO: close connection if HTTP/1.0
This commit is contained in:
Simon Stürz 2015-09-21 12:28:12 +02:00 committed by Michael Zanetti
parent e18279ba02
commit 0cad43bac2

View File

@ -70,7 +70,7 @@ void TestWebserver::httpVersion()
QSignalSpy clientSpy(socket, SIGNAL(readyRead()));
QByteArray requestData;
requestData.append("GET /hello/guh HTTP/1.0\r\n");
requestData.append("GET /hello/guh HTTP/1\r\n");
requestData.append("User-Agent: guh webserver test\r\n\r\n");
socket->write(requestData);