Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 208 for expiresIn (0.14 sec)

  1. src/net/http/cookiejar/jar_test.go

    	},
    	{
    		"Delete all.",
    		"http://www.host.test/",
    		[]string{
    			"a=1; max-Age=-1",                    // delete via MaxAge
    			"b=2; " + expiresIn(-10),             // delete via Expires
    			"c=2; max-age=-1; " + expiresIn(-10), // delete via both
    			"d=4; max-age=-1; " + expiresIn(10)}, // MaxAge takes precedence
    		"",
    		[]query{{"http://www.host.test", ""}},
    	},
    	{
    		"Refill #1.",
    		"http://www.host.test",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CookieTest.kt

          .isEqualTo(0L)
        assertThat(parse(url, "a=b; Expires=Thu, 01 Jan 1970 00:0:00 GMT")!!.expiresAt)
          .isEqualTo(0L)
        assertThat(parse(url, "a=b; Expires=Thu, 01 Jan 1970 00:00:0 GMT")!!.expiresAt)
          .isEqualTo(0L)
        assertThat(parse(url, "a=b; Expires=00:00:00 Thu, 01 Jan 1970 GMT")!!.expiresAt)
          .isEqualTo(0L)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cookie.kt

            this.value = value
          }
    
        fun expiresAt(expiresAt: Long) =
          apply {
            var expiresAt = expiresAt
            if (expiresAt <= 0L) expiresAt = Long.MIN_VALUE
            if (expiresAt > MAX_DATE) expiresAt = MAX_DATE
            this.expiresAt = expiresAt
            this.persistent = true
          }
    
        /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top