Searched refs:HTTP_NOT_MODIFIED (Results 1 – 17 of 17) sorted by relevance
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | HttpResponseCacheTest.java | 940 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached() 941 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached() 960 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED) in notModifiedSpecifiesEncoding() 975 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHitIsNotDoublePooled() 1164 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertClientSuppliedCondition() 1172 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in assertClientSuppliedCondition() 1217 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in retainServedDateFormat() 1233 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in clientSuppliedConditionWithoutCachedResult() 1239 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in clientSuppliedConditionWithoutCachedResult() 1339 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in connectionIsReturnedToPoolAfterConditionalSuccess() [all …]
|
D | ResponseCacheTest.java | 738 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached() 739 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached() 758 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED) in notModifiedSpecifiesEncoding() 934 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertClientSuppliedCondition() 942 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in assertClientSuppliedCondition() 963 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in clientSuppliedConditionWithoutCachedResult() 969 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in clientSuppliedConditionWithoutCachedResult() 1069 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in connectionIsReturnedToPoolAfterConditionalSuccess() 1123 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in cachePlusCookies() 1142 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in getHeadersReturnsNetworkEndToEndHeaders() [all …]
|
D | HttpOverSpdyTest.java | 372 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCache()
|
D | URLConnectionTest.java | 2919 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED) 2926 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection1.getResponseCode());
|
/external/chromium_org/google_apis/drive/ |
D | gdata_errorcode.h | 18 HTTP_NOT_MODIFIED = 304, enumerator
|
D | gdata_errorcode.cc | 26 case HTTP_NOT_MODIFIED: in GDataErrorCodeToString()
|
/external/chromium_org/chrome/browser/metrics/variations/ |
D | variations_service_unittest.cc | 325 net::HTTP_NOT_MODIFIED, in TEST_F() 365 SimulateServerResponse(net::HTTP_NOT_MODIFIED, fetcher); in TEST_F()
|
D | variations_service.cc | 548 response_code == net::HTTP_NOT_MODIFIED) { in OnURLFetchComplete() 564 if (response_code == net::HTTP_NOT_MODIFIED) { in OnURLFetchComplete()
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
D | drive_backend_util.cc | 99 case google_apis::HTTP_NOT_MODIFIED: in GDataErrorCodeToSyncStatusCode()
|
/external/chromium_org/chrome/browser/drive/ |
D | dummy_drive_service.cc | 42 callback.Run(google_apis::HTTP_NOT_MODIFIED, "fake_access_token"); in RequestAccessToken()
|
D | drive_api_service.cc | 716 callback.Run(google_apis::HTTP_NOT_MODIFIED, access_token); in RequestAccessToken()
|
D | fake_drive_service.cc | 331 callback.Run(google_apis::HTTP_NOT_MODIFIED, "fake_access_token"); in RequestAccessToken()
|
/external/chromium_org/components/data_reduction_proxy/common/ |
D | data_reduction_proxy_headers.cc | 233 (headers->response_code() != net::HTTP_NOT_MODIFIED)) { in GetDataReductionProxyBypassType()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | HttpEngine.java | 54 import static java.net.HttpURLConnection.HTTP_NOT_MODIFIED; 509 && responseCode != HTTP_NOT_MODIFIED) { in hasResponseBody()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Response.java | 196 if (network.code() == HttpURLConnection.HTTP_NOT_MODIFIED) { in validate()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | SyncApiTest.java | 145 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHit()
|
D | AsyncApiTest.java | 159 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHit()
|