forked from github/szkolny
[API/Vulcan] Actually ignore 404 response on Addressbook.
This commit is contained in:
parent
710d82da27
commit
86eb1a0f42
@ -338,6 +338,9 @@ open class VulcanHebe(open val data: DataVulcan, open val lastSync: Long?) {
|
|||||||
setTextBody(jsonString, MediaTypeUtils.APPLICATION_JSON)
|
setTextBody(jsonString, MediaTypeUtils.APPLICATION_JSON)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (allow404)
|
||||||
|
allowErrorCode(HttpURLConnection.HTTP_NOT_FOUND)
|
||||||
}
|
}
|
||||||
.allowErrorCode(HttpURLConnection.HTTP_BAD_REQUEST)
|
.allowErrorCode(HttpURLConnection.HTTP_BAD_REQUEST)
|
||||||
.allowErrorCode(HttpURLConnection.HTTP_FORBIDDEN)
|
.allowErrorCode(HttpURLConnection.HTTP_FORBIDDEN)
|
||||||
|
Loading…
Reference in New Issue
Block a user