Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for cooKIE2 (0.28 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

                    "COOKIE" to listOf("Bar=bar"),
                    "cooKIE2" to listOf("Baz=baz"),
                  )
                },
              ),
            ).build()
        server.enqueue(MockResponse())
        get(server.url("/"))
        val request = server.takeRequest()
        assertThat(request.headers["Cookie"]).isEqualTo("Bar=bar; Baz=baz")
        assertThat(request.headers["Cookie2"]).isNull()
        assertThat(request.headers["Quux"]).isNull()
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 13K bytes
    - Click Count (0)
  2. tests/test_openapi_examples.py

                    "summary": "Cookie One Summary",
                    "description": "Cookie One Description",
                    "value": "cookie1",
                },
                "Cookie Two": {
                    "value": "cookie2",
                },
            },
        ),
    ):
        return data
    
    
    client = TestClient(app)
    
    
    def test_call_api():
        response = client.post("/examples/", json={"data": "example1"})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. tests/test_schema_extra_examples.py

            ):
                return data
    
        @app.get("/cookie_examples/")
        def cookie_examples(
            data: Union[str, None] = Cookie(
                default=None,
                examples=["cookie1", "cookie2"],
            ),
        ):
            return data
    
        with pytest.warns(FastAPIDeprecationWarning):
    
            @app.get("/cookie_example_examples/")
            def cookie_example_examples(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 32.2K bytes
    - Click Count (0)
  4. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

            return emptyList()
          }
    
        var cookies: MutableList<Cookie>? = null
        for ((key, value) in cookieHeaders) {
          if (("Cookie".equals(key, ignoreCase = true) || "Cookie2".equals(key, ignoreCase = true)) &&
            value.isNotEmpty()
          ) {
            for (header in value) {
              if (cookies == null) cookies = mutableListOf()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/HttpHeaders.java

      /** The HTTP {@code Set-Cookie} header field name. */
      public static final String SET_COOKIE = "Set-Cookie";
    
      /** The HTTP {@code Set-Cookie2} header field name. */
      public static final String SET_COOKIE2 = "Set-Cookie2";
    
      /**
       * The HTTP <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap">{@code
       * SourceMap}</a> header field name.
       *
       * @since 27.1
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Mar 27 20:37:16 GMT 2025
    - 35.4K bytes
    - Click Count (0)
Back to Top