Home
last modified time | relevance | path

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/
DHttpResponseCacheTest.java940 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 …]
DResponseCacheTest.java738 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 …]
DHttpOverSpdyTest.java372 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCache()
DURLConnectionTest.java2919 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)
2926 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection1.getResponseCode());
/external/chromium_org/google_apis/drive/
Dgdata_errorcode.h18 HTTP_NOT_MODIFIED = 304, enumerator
Dgdata_errorcode.cc26 case HTTP_NOT_MODIFIED: in GDataErrorCodeToString()
/external/chromium_org/chrome/browser/metrics/variations/
Dvariations_service_unittest.cc325 net::HTTP_NOT_MODIFIED, in TEST_F()
365 SimulateServerResponse(net::HTTP_NOT_MODIFIED, fetcher); in TEST_F()
Dvariations_service.cc548 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/
Ddrive_backend_util.cc99 case google_apis::HTTP_NOT_MODIFIED: in GDataErrorCodeToSyncStatusCode()
/external/chromium_org/chrome/browser/drive/
Ddummy_drive_service.cc42 callback.Run(google_apis::HTTP_NOT_MODIFIED, "fake_access_token"); in RequestAccessToken()
Ddrive_api_service.cc716 callback.Run(google_apis::HTTP_NOT_MODIFIED, access_token); in RequestAccessToken()
Dfake_drive_service.cc331 callback.Run(google_apis::HTTP_NOT_MODIFIED, "fake_access_token"); in RequestAccessToken()
/external/chromium_org/components/data_reduction_proxy/common/
Ddata_reduction_proxy_headers.cc233 (headers->response_code() != net::HTTP_NOT_MODIFIED)) { in GetDataReductionProxyBypassType()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpEngine.java54 import static java.net.HttpURLConnection.HTTP_NOT_MODIFIED;
509 && responseCode != HTTP_NOT_MODIFIED) { in hasResponseBody()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DResponse.java196 if (network.code() == HttpURLConnection.HTTP_NOT_MODIFIED) { in validate()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSyncApiTest.java145 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHit()
DAsyncApiTest.java159 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHit()