Home
last modified time | relevance | path

Searched refs:responseCode (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/
H A Dhttp_file_source.cpp448 long responseCode = 0; in handleResult() local
449 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()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/qt/src/
H A Dhttp_request.cpp107 int responseCode = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); in handleNetworkReply() local
109 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()