Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 218 for Cookie2 (0.72 sec)

  1. fastapi/security/api_key.py

    class APIKeyCookie(APIKeyBase):
        """
        API key authentication using a cookie.
    
        This defines the name of the cookie that should be provided in the request with
        the API key and integrates that into the OpenAPI documentation. It extracts
        the key value sent in the cookie automatically and provides it as the dependency
        result. But it doesn't define how to set that cookie.
    
        ## Usage
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 23 22:29:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            // cookie
            if (cookieSpec != null) {
                requestConfigBuilder.setCookieSpec(cookieSpec);
            }
    
            // cookie store
            httpClientBuilder.setDefaultCookieStore(cookieStore);
            if (cookieStore != null) {
                final Cookie[] cookies = getInitParameter(COOKIES_PROPERTY, new Cookie[0], Cookie[].class);
                for (final Cookie cookie : cookies) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 41K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

    import okhttp3.internal.UTC
    
    /** The last four-digit year: "Fri, 31 Dec 9999 23:59:59 GMT". */
    internal const val MAX_DATE = 253402300799999L
    
    /**
     * Most websites serve cookies in the blessed format. Eagerly create the parser to ensure such
     * cookies are on the fast path.
     */
    private val STANDARD_DATE_FORMAT =
      object : ThreadLocal<DateFormat>() {
        override fun initialValue(): DateFormat {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/net/http/request.go

    }
    
    // ErrNoCookie is returned by Request's Cookie method when a cookie is not found.
    var ErrNoCookie = errors.New("http: named cookie not present")
    
    // Cookie returns the named cookie provided in the request or
    // [ErrNoCookie] if not found.
    // If multiple cookies match the given name, only one cookie will
    // be returned.
    func (r *Request) Cookie(name string) (*Cookie, error) {
    	if name == "" {
    		return nil, ErrNoCookie
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  5. src/net/http/response.go

    	// The pointer is shared between responses and should not be
    	// modified.
    	TLS *tls.ConnectionState
    }
    
    // Cookies parses and returns the cookies set in the Set-Cookie headers.
    func (r *Response) Cookies() []*Cookie {
    	return readSetCookies(r.Header)
    }
    
    // ErrNoLocation is returned by the [Response.Location] method
    // when no Location header is present.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun cookie() {
        val cookie: Cookie = Cookie.Builder().build()
        val name: String = cookie.name
        val value: String = cookie.value
        val persistent: Boolean = cookie.persistent
        val expiresAt: Long = cookie.expiresAt
        val hostOnly: Boolean = cookie.hostOnly
        val domain: String = cookie.domain
        val path: String = cookie.path
        val httpOnly: Boolean = cookie.httpOnly
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  7. pilot/pkg/networking/util/util.go

    		if !found {
    			cookiePath = "/"
    		}
    		// The cookie is using TTL=0, which means they are session cookies (browser is not saving the cookie, expires
    		// when the tab is closed). Most pods don't have ability (or code) to actually persist cookies, and expiration
    		// is better handled in the cookie content (and consistently in the header value - which doesn't have
    		// persistence semantics).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

       * {@code co.uk}, {@code google.invalid}, or {@code blogspot.com}.
       *
       * <p>This method can be used to determine whether it will probably be possible to set cookies on
       * the domain, though even that depends on individual browsers' implementations of cookie
       * controls. See <a href="http://www.ietf.org/rfc/rfc2109.txt">RFC 2109</a> for details.
       *
       * @since 6.0
       */
      public boolean isUnderPublicSuffix() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. src/net/internal/socktest/switch.go

    func cookie(family, sotype, proto int) Cookie {
    	return Cookie(family)<<48 | Cookie(sotype)&0xffffffff<<16 | Cookie(proto)&0xff
    }
    
    // A Status represents the status of a socket.
    type Status struct {
    	Cookie    Cookie
    	Err       error // error status of socket system call
    	SocketErr error // error status of socket by SO_ERROR
    }
    
    func (so Status) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InternetDomainName.java

       * {@code co.uk}, {@code google.invalid}, or {@code blogspot.com}.
       *
       * <p>This method can be used to determine whether it will probably be possible to set cookies on
       * the domain, though even that depends on individual browsers' implementations of cookie
       * controls. See <a href="http://www.ietf.org/rfc/rfc2109.txt">RFC 2109</a> for details.
       *
       * @since 6.0
       */
      public boolean isUnderPublicSuffix() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top