- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for Chrome (0.03 sec)
-
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) -
src/main/java/org/codelibs/fess/helper/UserAgentHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.5K bytes - Viewed (0) -
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) -
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) -
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) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
* https://hc.apache.org/httpcomponents-client-5.0.x/httpclient5/examples/AsyncClientTlsAlpn.java * * Mainly intended to verify behaviour of popular clients across Android versions, similar * to observing Firefox or Chrome browser behaviour. */ class ApacheHttpClientHttp2Test { @Test fun testHttp2() { val client = HttpAsyncClients.createHttp2Default() client.use { client -> client.start()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
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) -
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) -
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) -
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)