fix spaces... existing
This commit is contained in:
parent
391c6f7923
commit
785400b59c
@ -33,8 +33,8 @@ void requestlogging::addEntry(RequestContext context) {
|
||||
responseFile.write("\n\n" + context.response);
|
||||
responseFile.close();
|
||||
|
||||
QTextStream(&requestFile) << ioutils::methodString(context.reply->operation()) << " " // $type
|
||||
<< context.reply->url().toString() << " " // $url
|
||||
QTextStream(&requestFile) << ioutils::methodString(context.reply->operation()) << " " // $type
|
||||
<< context.reply->url().toString().replace(" ", "%20") << " " // $url
|
||||
<< context.reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() << " " // $status
|
||||
<< timeNow.replace(" ", "_") << endl
|
||||
<< flush; // $time
|
||||
|
Loading…
Reference in New Issue
Block a user