Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 392 for cookey (0.05 seconds)

  1. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                final Cookie[] cookies = req.getCookies();
                if (cookies != null) {
                    for (final Cookie cookie : cookies) {
                        if (cookieName.equals(cookie.getName())) {
                            try {
                                final String encoded = cookie.getValue();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  2. tests/test_request_params/test_cookie/test_optional_list.py

    # Currently, there is no way to pass multiple cookies with the same name.
    # The only way to pass multiple values for cookie params is to serialize them using
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Dec 11 16:15:36 GMT 2025
    - 234 bytes
    - Click Count (0)
  3. docs_src/response_cookies/tutorial002_py310.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.post("/cookie-and-object/")
    def create_cookie(response: Response):
        response.set_cookie(key="fakesession", value="fake-cookie-session-value")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 272 bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

                    final Cookie[] cookies = request.getCookies();
                    if (cookies != null) {
                        for (final Cookie cookie : cookies) {
                            if ("fsid".equals(cookie.getName()) && "12345abcde12345ABCDE".equals(cookie.getValue())) {
                                return cookie.getValue();
                            }
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  5. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

            .clearHeaders()
            .addHeader("Cookie: s=square")
            .addHeader("Cookie", "a=android")
        assertThat(headersToList(response))
          .containsExactly("Cookie: s=square", "Cookie: a=android")
      }
    
      @Test
      fun mockResponseSetHeader() {
        val response =
          MockResponse()
            .clearHeaders()
            .addHeader("Cookie: s=square")
            .addHeader("Cookie: a=android")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  6. tests/test_request_params/test_cookie/test_list.py

    # Currently, there is no way to pass multiple cookies with the same name.
    # The only way to pass multiple values for cookie params is to serialize them using
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Dec 11 16:15:36 GMT 2025
    - 234 bytes
    - Click Count (0)
  7. tests/test_security_api_key_cookie_description.py

                    "securitySchemes": {
                        "APIKeyCookie": {
                            "type": "apiKey",
                            "name": "key",
                            "in": "cookie",
                            "description": "An API Cookie Key",
                        }
                    }
                },
            }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  8. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        builder.setHeader("cookie", "r=robot")
        assertThat(headersToList(builder)).containsExactly("Cookies: delicious", "cookie: r=robot")
      }
    
      @Test
      fun mockResponseSetHeaders() {
        val builder =
          MockResponse
            .Builder()
            .clearHeaders()
            .addHeader("Cookie: s=square")
            .addHeader("Cookies: delicious")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/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.
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  10. tests/test_security_api_key_cookie_optional.py

        if current_user is None:
            return {"msg": "Create an account first"}
        else:
            return current_user
    
    
    def test_security_api_key():
        client = TestClient(app, cookies={"key": "secret"})
        response = client.get("/users/me")
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "secret"}
    
    
    def test_security_api_key_no_key():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.2K bytes
    - Click Count (0)
Back to Top