Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for Chrome (0.03 sec)

  1. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

                    "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.52 Safari/537.36");
            assertEquals(UserAgentType.CHROME, userAgentHelper.getUserAgentType());
    
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0");
            assertEquals(UserAgentType.CHROME, userAgentHelper.getUserAgentType());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                        } else if (userAgent.indexOf("Firefox") >= 0) {
                            uaType = UserAgentType.FIREFOX;
                        } else if (userAgent.indexOf("Chrome") >= 0) {
                            uaType = UserAgentType.CHROME;
                        } else if (userAgent.indexOf("Safari") >= 0) {
                            uaType = UserAgentType.SAFARI;
                        } else if (userAgent.indexOf("Opera") >= 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

      }
    
      @Test fun ofMakesDefensiveCopy() {
        val namesAndValues =
          arrayOf(
            "User-Agent",
            "OkHttp",
          )
        val headers = headersOf(*namesAndValues)
        namesAndValues[1] = "Chrome"
        assertThat(headers.value(0)).isEqualTo("OkHttp")
      }
    
      @Test fun ofRejectsNullChar() {
        assertFailsWith<IllegalArgumentException> {
          headersOf("User-Agent", "Square\u0000OkHttp")
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

      val android9 = sslLabsClients.first { it.userAgent == "Android" && it.version == "9.0" }
      val chrome33 = sslLabsClients.first { it.userAgent == "Chrome" && it.version == "33" }
      val chrome57 = sslLabsClients.first { it.userAgent == "Chrome" && it.version == "57" }
      val chrome80 = sslLabsClients.first { it.userAgent == "Chrome" && it.version == "80" }
      val firefox34 = sslLabsClients.first { it.userAgent == "Firefox" && it.version == "34" }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt

          if (!other.isSet(i)) continue
          set(i, other[i])
        }
      }
    
      companion object {
        /**
         * From the HTTP/2 specs, the default initial window size for all streams is 64 KiB. (Chrome 25
         * uses 10 MiB).
         */
        const val DEFAULT_INITIAL_WINDOW_SIZE = 65535
    
        /** HTTP/2: Size in bytes of the table used to decode the sender's header blocks. */
        const val HEADER_TABLE_SIZE = 1
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

        /**
         * Appends a quoted-string to a StringBuilder.
         *
         * RFC 2388 is rather vague about how one should escape special characters in form-data
         * parameters, and as it turns out Firefox and Chrome actually do rather different things, and
         * both say in their comments that they're not really sure what the right approach is. We go
         * with Chrome's behavior (which also experimentally seems to match what IE does), but if you
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

      @get:JvmName("maxAgeSeconds") val maxAgeSeconds: Int,
      /**
       * The "s-maxage" directive is the max age for shared caches. Not to be confused with "max-age"
       * for non-shared caches, As in Firefox and Chrome, this directive is not honored by this cache.
       */
      @get:JvmName("sMaxAgeSeconds") val sMaxAgeSeconds: Int,
      val isPrivate: Boolean,
      val isPublic: Boolean,
      @get:JvmName("mustRevalidate") val mustRevalidate: Boolean,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

        val mediaType = parse("text/plain; charset=utf-8; charset=utf-16")
        assertEquals("UTF-8", mediaType.charsetName())
      }
    
      /**
       * This is invalid according to RFC 822. But it's what Chrome does and it avoids a potentially
       * unpleasant IllegalCharsetNameException.
       */
      @Test fun testCharsetNameIsSingleQuoted() {
        val mediaType = parse("text/plain;charset='utf-8'")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/MediaType.java

       *
       * @since 27.0
       */
      public static final MediaType WASM_APPLICATION = createConstant(APPLICATION_TYPE, "wasm");
    
      /**
       * NaCl applications. For more information see <a
       * href="https://developer.chrome.com/native-client/devguide/coding/application-structure">the
       * Developer Guide for Native Client Application Structure</a>.
       *
       * @since 20.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP nonstandard {@code X-WebKit-CSP} header field name. It was introduced in <a
       * href="https://www.w3.org/TR/2011/WD-CSP-20111129/">CSP v.1</a> and used by the Chrome until
       * version 25. Please, use {@link #CONTENT_SECURITY_POLICY} to pass the CSP.
       *
       * @since 20.0
       */
      public static final String X_WEBKIT_CSP = "X-WebKit-CSP";
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 27 20:37:16 UTC 2025
    - 35.4K bytes
    - Viewed (0)
Back to top