Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 83 for Cookie2 (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

        }
    
        return responseBuilder.build()
      }
    
      /** Returns a 'Cookie' HTTP request header with all cookies, like `a=b; c=d`. */
      private fun cookieHeader(cookies: List<Cookie>): String =
        buildString {
          cookies.forEachIndexed { index, cookie ->
            if (index > 0) append("; ")
            append(cookie.name).append('=').append(cookie.value)
          }
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            }
            LaResponseUtil.getResponse().addCookie(cookie);
        }
    
        protected String getUserCodeFromCookie(final HttpServletRequest request) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final Cookie[] cookies = request.getCookies();
            if (cookies != null) {
                for (final Cookie cookie : cookies) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/net/http/66008.md

    The new [ParseCookie] function parses a Cookie header value and
    returns all the cookies which were set in it. Since the same cookie
    name can appear multiple times the returned Values can contain
    more than one value for a given key.
    
    The new [ParseSetCookie] function parses a Set-Cookie header value and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 17:43:50 UTC 2024
    - 359 bytes
    - Viewed (0)
  4. tests/test_param_include_in_schema.py

                {"hidden_cookie": "somevalue"},
                200,
                {"hidden_cookie": "somevalue"},
            ),
        ],
    )
    def test_hidden_cookie(path, cookies, expected_status, expected_response):
        client = TestClient(app, cookies=cookies)
        response = client.get(path)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    @pytest.mark.parametrize(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/net/http/62490.md

    The new [Cookie.Partitioned] field identifies cookies with the Partitioned attribute....
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 85 bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

      }
    }
    
    fun CookieJar.receiveHeaders(
      url: HttpUrl,
      headers: Headers,
    ) {
      if (this === CookieJar.NO_COOKIES) return
    
      val cookies = Cookie.parseAll(url, headers)
      if (cookies.isEmpty()) return
    
      saveFromResponse(url, cookies)
    }
    
    /**
     * Returns true if the response headers and status indicate that this response has a (possibly
     * 0-length) body. See RFC 7231.
     */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  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. 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)
Back to top