Searched refs:responseCode (Results 1 – 2 of 2) sorted by relevance
448 long responseCode = 0; in handleResult() local449 curl::easy_getinfo(handle, CURLINFO_RESPONSE_CODE, &responseCode); in handleResult()451 if (responseCode == 200) { in handleResult()457 …} else if (responseCode == 204 || (responseCode == 404 && resource.kind == Resource::Kind::Tile)) { in handleResult()459 } else if (responseCode == 304) { in handleResult()461 } else if (responseCode == 404) { in handleResult()464 } else if (responseCode == 429) { in handleResult()468 } else if (responseCode >= 500 && responseCode < 600) { in handleResult()471 util::toString(responseCode)); in handleResult()475 util::toString(responseCode)); in handleResult()
107 int responseCode = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); in handleNetworkReply() local109 switch(responseCode) { in handleNetworkReply()139 Response::Error::Reason reason = (responseCode >= 500 && responseCode < 600) ? in handleNetworkReply()143 reason, "HTTP status code " + util::toString(responseCode)); in handleNetworkReply()