Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 255 for Cookie2 (0.18 sec)

  1. platforms/software/resources-http/src/integTest/groovy/org/gradle/internal/resource/transport/http/CookieHeaderTest.groovy

            ]
        }
    
    }
    
    class RespondWithCookieAction extends HttpServer.ActionSupport {
        private final String cookie
        private final String attributes
    
        RespondWithCookieAction(String cookie, String attributes) {
            super("Return cookie header ${cookie}")
            this.cookie = cookie
            this.attributes = attributes
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/net/main_posix_test.go

    		switch net {
    		case "tcp4":
    			if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_STREAM {
    				return nil, syscall.EHOSTUNREACH
    			}
    		case "udp4":
    			if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_DGRAM {
    				return nil, syscall.EHOSTUNREACH
    			}
    		case "ip4":
    			if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_RAW {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. 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)
  4. tests/test_params_repr.py

    
    def test_cookie_repr_str():
        assert repr(Cookie("teststr")) == "Cookie(teststr)"
    
    
    def test_cookie_repr_none():
        assert repr(Cookie(None)) == "Cookie(None)"
    
    
    def test_cookie_repr_ellipsis():
        assert repr(Cookie(...)) == IsOneOf(
            "Cookie(PydanticUndefined)",
            # TODO: remove when deprecating Pydantic v1
            "Cookie(Ellipsis)",
        )
    
    
    def test_cookie_repr_number():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. 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)
  6. src/net/internal/socktest/sys_windows.go

    		return err
    	}
    
    	sw.smu.Lock()
    	defer sw.smu.Unlock()
    	if so.Err != nil {
    		sw.stats.getLocked(so.Cookie).AcceptFailed++
    		return so.Err
    	}
    	nso := sw.addLocked(as, so.Cookie.Family(), so.Cookie.Type(), so.Cookie.Protocol())
    	sw.stats.getLocked(nso.Cookie).Accepted++
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/response-headers.md

    # Headers de Respuesta
    
    ## Usar un parámetro `Response`
    
    Puedes declarar un parámetro de tipo `Response` en tu *función de operación de path* (de manera similar como se hace con las cookies).
    
    Y entonces, podrás configurar las cookies en ese objeto de response *temporal*.
    
    ```Python hl_lines="1  7-8"
    {!../../../docs_src/response_headers/tutorial002.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Feb 07 12:51:12 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/net/internal/socktest/sys_unix.go

    		}
    		return -1, nil, err
    	}
    
    	sw.smu.Lock()
    	defer sw.smu.Unlock()
    	if so.Err != nil {
    		sw.stats.getLocked(so.Cookie).AcceptFailed++
    		return -1, nil, so.Err
    	}
    	nso := sw.addLocked(ns, so.Cookie.Family(), so.Cookie.Type(), so.Cookie.Protocol())
    	sw.stats.getLocked(nso.Cookie).Accepted++
    	return ns, sa, nil
    }
    
    // GetsockoptInt wraps syscall.GetsockoptInt.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

                }
            };
    
            Set<String> roleSet;
            Cookie cookie;
    
            roleSet = buildByCookie(roleQueryHelperImpl, getMockRequest());
            assertEquals(0, roleSet.size());
    
            cookie = new Cookie("aaa", "bbb");
            getMockRequest().addCookie(cookie);
            try {
                roleSet = buildByCookie(roleQueryHelperImpl, getMockRequest());
                fail();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/internal.kt

    import okhttp3.internal.connection.RealConnection
    
    internal fun parseCookie(
      currentTimeMillis: Long,
      url: HttpUrl,
      setCookie: String,
    ): Cookie? = Cookie.parse(currentTimeMillis, url, setCookie)
    
    internal fun cookieToString(
      cookie: Cookie,
      forObsoleteRfc2965: Boolean,
    ): String = cookie.toString(forObsoleteRfc2965)
    
    internal fun addHeaderLenient(
      builder: Headers.Builder,
      line: String,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top