Home
last modified time | relevance | path

Searched refs:HTTP_NOT_MODIFIED (Results 1 – 15 of 15) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheTest.java973 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached()
975 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached()
992 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED) in notModifiedSpecifiesEncoding()
1022 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHitIsNotDoublePooled()
1267 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertClientSuppliedCondition()
1277 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, response.code()); in assertClientSuppliedCondition()
1303 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in retainServedDateFormat()
1319 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in clientSuppliedConditionWithoutCachedResult()
1326 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, response.code()); in clientSuppliedConditionWithoutCachedResult()
1365 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in connectionIsReturnedToPoolAfterConditionalSuccess()
[all …]
DCallTest.java1170 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHit()
1228 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHit_Async()
DURLConnectionTest.java3130 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)
3135 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection1.getResponseCode());
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java805 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached()
806 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached()
823 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED) in notModifiedSpecifiesEncoding()
850 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHitIsNotDoublePooled()
1026 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertClientSuppliedCondition()
1033 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in assertClientSuppliedCondition()
1077 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in retainServedDateFormat()
1092 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in clientSuppliedConditionWithoutCachedResult()
1097 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in clientSuppliedConditionWithoutCachedResult()
1164 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in connectionIsReturnedToPoolAfterConditionalSuccess()
[all …]
/external/volley/src/main/java/com/android/volley/toolbox/
DNetworkUtility.java70 HttpURLConnection.HTTP_NOT_MODIFIED, in getNotModifiedNetworkResponse()
79 HttpURLConnection.HTTP_NOT_MODIFIED, in getNotModifiedNetworkResponse()
DBasicNetwork.java108 if (statusCode == HttpURLConnection.HTTP_NOT_MODIFIED) { in performRequest()
DBasicAsyncNetwork.java77 if (statusCode == HttpURLConnection.HTTP_NOT_MODIFIED) { in onRequestSucceeded()
DHurlStack.java144 && responseCode != HttpURLConnection.HTTP_NOT_MODIFIED; in hasResponseBody()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java927 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached()
929 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached()
946 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED) in notModifiedSpecifiesEncoding()
1156 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertClientSuppliedCondition()
1163 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in assertClientSuppliedCondition()
1189 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in retainServedDateFormat()
1205 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in clientSuppliedConditionWithoutCachedResult()
1210 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in clientSuppliedConditionWithoutCachedResult()
1246 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in connectionIsReturnedToPoolAfterConditionalSuccess()
1478 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in cachePlusCookies()
[all …]
/external/volley/src/test/java/com/android/volley/toolbox/
DBasicAsyncNetworkTest.java137 HttpResponse fakeResponse = new HttpResponse(HttpURLConnection.HTTP_NOT_MODIFIED, headers); in notModified()
173 HttpResponse fakeResponse = new HttpResponse(HttpURLConnection.HTTP_NOT_MODIFIED, headers); in notModified_legacyCache()
419 HttpResponse fakeResponse = new HttpResponse(HttpURLConnection.HTTP_NOT_MODIFIED, headers); in notModifiedShortCircuit()
DBasicNetworkTest.java103 HttpResponse fakeResponse = new HttpResponse(HttpURLConnection.HTTP_NOT_MODIFIED, headers); in notModified()
137 HttpResponse fakeResponse = new HttpResponse(HttpURLConnection.HTTP_NOT_MODIFIED, headers); in notModified_legacyCache()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttpEngine.java63 import static java.net.HttpURLConnection.HTTP_NOT_MODIFIED;
508 && responseCode != HTTP_NOT_MODIFIED) { in hasBody()
838 if (network.code() == HTTP_NOT_MODIFIED) { in validate()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpEngine.java62 import static java.net.HttpURLConnection.HTTP_NOT_MODIFIED;
497 && responseCode != HTTP_NOT_MODIFIED) { in hasBody()
825 if (network.code() == HTTP_NOT_MODIFIED) { in validate()
/external/libcups/cups/
Dhttp.h306 # define HTTP_NOT_MODIFIED HTTP_STATUS_NOT_MODIFIED macro
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdyTest.java344 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCache()