- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 248 for Expires (0.03 sec)
-
cmd/signature-v2.go
canonicalHeaders += "\n" } date := expires // Date is set to expires date for presign operations. if date == "" { // If expires date is empty then request header Date is used. date = headers.Get(xhttp.Date) } // From the Amazon docs: // // StringToSign = HTTP-Verb + "\n" + // Content-Md5 + "\n" + // Content-Type + "\n" + // Date/Expires + "\n" + // CanonicalizedProtocolHeaders +
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
/** If a cookie incorrectly defines multiple 'Expires' attributes, the last one defined wins. */ @Test fun lastExpiresAtWins() { assertThat( parseCookie( 0L, url, "a=b; " + "Expires=Thu, 01 Jan 1970 00:00:02 GMT; " + "Expires=Thu, 01 Jan 1970 00:00:04 GMT; " + "Expires=Thu, 01 Jan 1970 00:00:01 GMT; " + "Expires=Thu, 01 Jan 1970 00:00:03 GMT",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 24.4K bytes - Viewed (0) -
cmd/signature-v2_test.go
}, // (3) Should give an expired request if it has expired. { queryParams: map[string]string{ "Expires": "60", "Signature": "badsignature", "AWSAccessKeyId": accessKey, }, expected: ErrExpiredPresignRequest, }, // (4) Should error when the signature does not match. { queryParams: map[string]string{ "Expires": fmt.Sprintf("%d", now.Unix()+60),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8K bytes - Viewed (0) -
cmd/signature-v4_test.go
}, region: region, expected: ErrUnsignedHeaders, }, // (4) Should give an expired request if it has expired. { queryParams: map[string]string{ "X-Amz-Algorithm": signV4Algorithm, "X-Amz-Date": now.AddDate(0, 0, -2).Format(iso8601Format), "X-Amz-Expires": "60", "X-Amz-Signature": "badsignature",
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
// 0 expires ticker.advance(1, MILLISECONDS); assertThat(keySet).containsExactly(1, 2, 3, 4, 5, 6, 7, 8, 9); // reorder getAll(cache, asList(0, 1, 2)); CacheTesting.drainRecencyQueues(cache); ticker.advance(2, MILLISECONDS); assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2); // 3 expires ticker.advance(1, MILLISECONDS);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
public String propertiesPath; /** Number of days after which documents should expire and be cleaned up. */ @Option(name = "-e", aliases = "--expires", metaVar = "expires", usage = "Expires for documents") public String expires; /** Interval in milliseconds for hot thread monitoring and logging. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 31K bytes - Viewed (0) -
cmd/signature-v4-parser_test.go
} // validating expiry duration. if testCase.expectedPreSignValues.Expires != parsedPreSign.Expires { t.Errorf("Test %d: Expected expiry time to be %v, but got %v", i+1, testCase.expectedPreSignValues.Expires, parsedPreSign.Expires) } // validating presign date field.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 27.4K bytes - Viewed (0) -
cmd/signature-v4-parser.go
} // Save expires in native time.Duration. preSignV4Values.Expires, e = time.ParseDuration(query.Get(xhttp.AmzExpires) + "s") if e != nil { return psv, ErrMalformedExpires } if preSignV4Values.Expires < 0 { return psv, ErrNegativeExpires } // Check if Expiry time is less than 7 days (value in seconds). if preSignV4Values.Expires.Seconds() > 604800 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java
/** * The token parameter. */ public static final String TOKEN = "token"; /** * The expires parameter. */ public static final String EXPIRES = "expires"; /** * The expired time parameter. */ public static final String EXPIRED_TIME = "expiredTime";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 16.9K bytes - Viewed (0)