NOISSUE correctly set http status code in auth reply
This commit is contained in:
parent
ddfed7bb87
commit
54e3438e37
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ void AuthRequest::onRequestFinished() {
|
|||
if (reply_ != qobject_cast<QNetworkReply *>(sender())) {
|
||||
return;
|
||||
}
|
||||
httpStatus_ = 200;
|
||||
httpStatus_ = reply_->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
||||
finish();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue