fix spaces... existing

This commit is contained in:
ArsenArsen 2018-01-03 00:28:39 +01:00
parent 391c6f7923
commit 785400b59c
No known key found for this signature in database
GPG Key ID: 683D2F43B0CA4BD2

View File

@ -34,7 +34,7 @@ void requestlogging::addEntry(RequestContext context) {
responseFile.close(); responseFile.close();
QTextStream(&requestFile) << ioutils::methodString(context.reply->operation()) << " " // $type QTextStream(&requestFile) << ioutils::methodString(context.reply->operation()) << " " // $type
<< context.reply->url().toString() << " " // $url << context.reply->url().toString().replace(" ", "%20") << " " // $url
<< context.reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() << " " // $status << context.reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() << " " // $status
<< timeNow.replace(" ", "_") << endl << timeNow.replace(" ", "_") << endl
<< flush; // $time << flush; // $time