fix http version test
TODO: close connection if HTTP/1.0
This commit is contained in:
parent
e18279ba02
commit
0cad43bac2
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user