Searched refs:lastModifiedDate (Results 1 – 4 of 4) sorted by relevance
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | ResponseCacheTest.java | 549 String lastModifiedDate = formatDate(-115, TimeUnit.SECONDS); in defaultExpirationDateConditionallyCached() local 551 .addHeader("Last-Modified: " + lastModifiedDate) in defaultExpirationDateConditionallyCached() 553 assertEquals(lastModifiedDate, conditionalRequest.getHeader("If-Modified-Since")); in defaultExpirationDateConditionallyCached() 587 String lastModifiedDate = formatDate(-2, TimeUnit.HOURS); in expirationDateInThePastWithLastModifiedHeader() local 589 .addHeader("Last-Modified: " + lastModifiedDate) in expirationDateInThePastWithLastModifiedHeader() 591 assertEquals(lastModifiedDate, conditionalRequest.getHeader("If-Modified-Since")); in expirationDateInThePastWithLastModifiedHeader() 612 String lastModifiedDate = formatDate(-2, TimeUnit.HOURS); in maxAgeInThePastWithDateAndLastModifiedHeaders() local 615 .addHeader("Last-Modified: " + lastModifiedDate) in maxAgeInThePastWithDateAndLastModifiedHeaders() 617 assertEquals(lastModifiedDate, conditionalRequest.getHeader("If-Modified-Since")); in maxAgeInThePastWithDateAndLastModifiedHeaders() 803 String lastModifiedDate = formatDate(-2, TimeUnit.HOURS); in etagAndExpirationDateInThePast() local [all …]
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | UrlConnectionCacheTest.java | 486 String lastModifiedDate = formatDate(-115, TimeUnit.SECONDS); in defaultExpirationDateConditionallyCached() local 488 new MockResponse().addHeader("Last-Modified: " + lastModifiedDate) in defaultExpirationDateConditionallyCached() 490 assertEquals(lastModifiedDate, conditionalRequest.getHeader("If-Modified-Since")); in defaultExpirationDateConditionallyCached() 522 String lastModifiedDate = formatDate(-2, TimeUnit.HOURS); in expirationDateInThePastWithLastModifiedHeader() local 524 new MockResponse().addHeader("Last-Modified: " + lastModifiedDate) in expirationDateInThePastWithLastModifiedHeader() 526 assertEquals(lastModifiedDate, conditionalRequest.getHeader("If-Modified-Since")); in expirationDateInThePastWithLastModifiedHeader() 544 String lastModifiedDate = formatDate(-2, TimeUnit.HOURS); in maxAgeInThePastWithDateAndLastModifiedHeaders() local 547 .addHeader("Last-Modified: " + lastModifiedDate) in maxAgeInThePastWithDateAndLastModifiedHeaders() 549 assertEquals(lastModifiedDate, conditionalRequest.getHeader("If-Modified-Since")); in maxAgeInThePastWithDateAndLastModifiedHeaders() 708 String lastModifiedDate = formatDate(-2, TimeUnit.HOURS); in etagAndExpirationDateInThePast() local [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | CacheTest.java | 567 String lastModifiedDate = formatDate(-115, TimeUnit.SECONDS); in defaultExpirationDateConditionallyCached() local 569 .addHeader("Last-Modified: " + lastModifiedDate) in defaultExpirationDateConditionallyCached() 571 assertEquals(lastModifiedDate, conditionalRequest.getHeader("If-Modified-Since")); in defaultExpirationDateConditionallyCached() 604 String lastModifiedDate = formatDate(-2, TimeUnit.HOURS); in expirationDateInThePastWithLastModifiedHeader() local 606 .addHeader("Last-Modified: " + lastModifiedDate) in expirationDateInThePastWithLastModifiedHeader() 608 assertEquals(lastModifiedDate, conditionalRequest.getHeader("If-Modified-Since")); in expirationDateInThePastWithLastModifiedHeader() 629 String lastModifiedDate = formatDate(-2, TimeUnit.HOURS); in maxAgeInThePastWithDateAndLastModifiedHeaders() local 632 .addHeader("Last-Modified: " + lastModifiedDate) in maxAgeInThePastWithDateAndLastModifiedHeaders() 634 assertEquals(lastModifiedDate, conditionalRequest.getHeader("If-Modified-Since")); in maxAgeInThePastWithDateAndLastModifiedHeaders() 820 String lastModifiedDate = formatDate(-2, TimeUnit.HOURS); in etagAndExpirationDateInThePast() local [all …]
|
/external/libvncserver/webclients/novnc/include/ |
D | jsunzip.js | 99 var lastModifiedDate = this.getDOSDate(lastModFileDate, lastModFileTime); 129 'lastModifiedDate' : lastModifiedDate property
|