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.write("\n\n" + context.response);
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user