Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 102 for protocols (0.06 seconds)

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

         *
         * @param protocol the protocol name to add (without colon suffix)
         */
        public void addWebProtocol(final String protocol) {
            final String prefix = protocol + ":";
            if (stream(webProtocols).get(stream -> stream.anyMatch(s -> s.equals(prefix)))) {
                logger.debug("Web protocols already contains: protocol={}", protocol);
                return;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt

    @Burst
    class CallLimitsTest(
      private val protocol: Protocol = burstValues(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.HTTP_1_1),
    ) {
      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @StartStop
      private val server =
        MockWebServer().apply {
          protocols = listOf(protocol)
        }
    
      private var client =
        clientTestRule
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
        assertThat(simplifyPath("/a/b/c/g")).isEqualTo("/a/b/c/g");
        assertThat(simplifyPath("/a/b/c/./g")).isEqualTo("/a/b/c/g");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
        assertThat(simplifyPath("/a/b/c/g")).isEqualTo("/a/b/c/g");
        assertThat(simplifyPath("/a/b/c/./g")).isEqualTo("/a/b/c/g");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val i = HttpLoggingInterceptor()
    
        builder.interceptors().add(i)
        builder.networkInterceptors().add(i)
      }
    
      @Test
      fun protocol() {
        var protocol: Protocol = Protocol.HTTP_2
        protocol = Protocol.get("")
      }
    
      @Test
      fun pushPromise() {
        val pushPromise: PushPromise = PushPromise("", "", headersOf(), MockResponse())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  6. src/main/webapp/js/chat.js

            }
            // Block known dangerous protocols
            var dangerousProtocols = ['javascript:', 'data:', 'vbscript:', 'file:', 'about:', 'blob:'];
            for (var i = 0; i < dangerousProtocols.length; i++) {
                if (trimmedUrl.startsWith(dangerousProtocols[i])) {
                    return '#';
                }
            }
            // Block URLs that look like protocol:// (unknown protocols)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *}
    
    ## SSE with POST { #sse-with-post }
    
    SSE works with **any HTTP method**, not just `GET`.
    
    This is useful for protocols like [MCP](https://modelcontextprotocol.io) that stream SSE over `POST`:
    
    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    ## Technical Details { #technical-details }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  8. fastapi/sse.py

        to enable Server Sent Events (SSE) responses.
    
        Works with **any HTTP method** (`GET`, `POST`, etc.), which makes it compatible
        with protocols like MCP that stream SSE over `POST`.
    
        The actual encoding logic lives in the FastAPI routing layer. This class
        serves mainly as a marker and sets the correct `Content-Type`.
        """
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/cors.md

    ## Origin { #origin }
    
    An origin is the combination of protocol (`http`, `https`), domain (`myapp.com`, `localhost`, `localhost.tiangolo.com`), and port (`80`, `443`, `8080`).
    
    So, all these are different origins:
    
    * `http://localhost`
    * `https://localhost`
    * `http://localhost:8080`
    
    Even if they are all in `localhost`, they use different protocols or ports, so, they are different "origins".
    
    ## Steps { #steps }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

          hostnameVerifier = useHostnameVerifier,
          certificatePinner = useCertificatePinner,
          proxyAuthenticator = proxyAuthenticator,
          proxy = proxy,
          protocols = call.client.protocols,
          connectionSpecs = call.client.connectionSpecs,
          proxySelector = proxySelector,
        )
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 12.8K bytes
    - Click Count (0)
Back to Top