Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 194 for EXPIRES (0.61 sec)

  1. okhttp/src/test/java/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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/compare/sds/writer_test.go

    					SecretMeta: SecretMeta{
    						Valid:        true,
    						SerialNumber: "serial_number",
    						NotAfter:     "expires",
    						NotBefore:    "valid",
    						Type:         "type",
    					},
    				},
    			},
    			expected: append(
    				[]string{"olinger", "serial_number", "expires", "valid", "type"},
    				secretItemColumns...),
    			unexpected: []string{"source", "destination", "certdata"},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  4. platforms/software/resources-http/src/integTest/groovy/org/gradle/internal/resource/transport/http/CookieHeaderTest.groovy

            where:
            attributes << [
                    'Max-Age=31536000; Expires=Sun, 24 Jun 2018 16:26:36 GMT;',
                    'Max-Age=31536000; Expires=Sun Jun 24 16:26:36 2018;',
                    'Max-Age=31536000; Expires=Sun, 24-Jun-18 16:26:36 GMT;',
                    'Max-Age=31536000; Expires=Sun, 24-Jun-18 16:26:36 GMT-08:00;',
            ]
        }
    
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/bootstraptoken/v1/utils.go

    	// If for some strange reason both token.TTL and token.Expires would be set
    	// (they are mutually exclusive in validation so this shouldn't be the case),
    	// token.Expires has higher priority, as can be seen in the logic here.
    	if token.Expires != nil {
    		// Format the expiration date accordingly
    		// TODO: This maybe should be a helper function in bootstraputil?
    		expirationString := token.Expires.Time.UTC().Format(time.RFC3339)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/bootstraptoken/v1/types.go

    	// TTL defines the time to live for this token. Defaults to 24h.
    	// Expires and TTL are mutually exclusive.
    	// +optional
    	TTL *metav1.Duration `json:"ttl,omitempty"`
    	// Expires specifies the timestamp when this token expires. Defaults to being set
    	// dynamically at runtime based on the TTL. Expires and TTL are mutually exclusive.
    	// +optional
    	Expires *metav1.Time `json:"expires,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 01 21:11:49 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  8. src/net/http/cookie_test.go

    	},
    	{
    		&Cookie{Name: "cookie-9", Value: "expiring", Expires: time.Unix(1257894000, 0)},
    		"cookie-9=expiring; Expires=Tue, 10 Nov 2009 23:00:00 GMT",
    	},
    	// According to IETF 6265 Section 5.1.1.5, the year cannot be less than 1601
    	{
    		&Cookie{Name: "cookie-10", Value: "expiring-1601", Expires: time.Date(1601, 1, 1, 1, 1, 1, 1, time.UTC)},
    		"cookie-10=expiring-1601; Expires=Mon, 01 Jan 1601 01:01:01 GMT",
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy

        def expiration = new WorkerDaemonExpiration(clientsManager, MemoryAmount.ofGigaBytes(OS_MEMORY_GB).bytes)
    
        def "expires least recently used idle worker daemon to free system memory when requested to release some memory"() {
            given:
            def client1 = reserveNewClient(twoGbOptions)
            def client2 = reserveNewClient(twoGbOptions)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

          if (responseCaching.maxAgeSeconds != -1) {
            return SECONDS.toMillis(responseCaching.maxAgeSeconds.toLong())
          }
    
          val expires = this.expires
          if (expires != null) {
            val servedMillis = servedDate?.time ?: receivedResponseMillis
            val delta = expires.time - servedMillis
            return if (delta > 0L) delta else 0L
          }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top