- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 137 for agent (0.02 sec)
-
docs/features/interceptors.md
OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(new LoggingInterceptor()) .build(); Request request = new Request.Builder() .url("http://www.publicobject.com/helloworld.txt") .header("User-Agent", "OkHttp Example") .build(); Response response = client.newCall(request).execute(); response.body().close(); ```
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
logger.debug("replace: {} -> {}", url, newUrl); } return newUrl; } /** * Checks if the user agent matches the path mapping. * * @param pathMapping the path mapping * @return true if the user agent matches */ protected boolean matchUserAgent(final PathMapping pathMapping) { if (!pathMapping.hasUAMathcer()) { return true;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt
class RequestCommonTest { @Test fun constructorNormal() { val url = "https://example.com/".toHttpUrl() val body = "hello".toRequestBody() val headers = headersOf("User-Agent", "RequestTest") val method = "PUT" val request = Request( url = url, headers = headers, method = method, body = body, )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.8K bytes - Viewed (0) -
Jenkinsfile
#!groovy pipeline { agent none // save some io during the build options { skipDefaultCheckout() durabilityHint('PERFORMANCE_OPTIMIZED') disableRestartFromStage() } stages { stage("Build / Test - JDK17") { agent { node { label 'ubuntu' } } steps { timeout(time: 210, unit: 'MINUTES') { checkout scm mavenBuild("jdk_17_latest", "") script {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 10 12:31:48 UTC 2025 - 2K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.assertLogEqual("--> GET $url http/1.1") .assertLogEqual("Host: $host") .assertLogEqual("Connection: Keep-Alive") .assertLogEqual("Accept-Encoding: gzip") .assertLogMatch(Regex("""User-Agent: okhttp/.+""")) .assertLogEqual("--> END GET") .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)""")) .assertLogEqual("Content-Length: 0") .assertLogEqual("<-- END HTTP") .assertNoMoreLogs()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
assertThat(response.request.header("User-Agent")).isNotNull() assertThat(response.request.header("User-Agent")).isEqualTo("user request") assertThat(response.networkResponse!!.request.header("User-Agent")).isEqualTo( "intercepted request", ) } @Test fun applicationInterceptorThrowsRuntimeExceptionAsynchronous() { interceptorThrowsRuntimeExceptionAsynchronous(false)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 28.2K bytes - Viewed (0) -
fuzzing/fuzzingserver-config.json
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Mar 26 02:01:32 UTC 2019 - 2.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt
} } private fun runTest( number: Long, count: Long, ) { val latch = CountDownLatch(1) val startNanos = AtomicLong() newWebSocket( "/runCase?case=$number&agent=okhttp", object : WebSocketListener() { override fun onOpen( webSocket: WebSocket, response: Response, ) { println("Executing test case $number/$count")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/Constants.java
// ============================================================ // User Agent Configuration // ============================================================ /** Prefix for Fess crawler user agent string. */ public static final String CRAWLING_USER_AGENT_PREFIX = "Mozilla/5.0 (compatible; Fess/"; /** Suffix for Fess crawler user agent string with bot information URL. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 34.6K bytes - Viewed (0) -
guava/pom.xml
<offlineLinks> <!-- We need local copies of some of these for 2 reasons: a User-Agent problem (https://stackoverflow.com/a/47891403/28465) and an SSL problem (https://issues.apache.org/jira/browse/MJAVADOC-507). If we choose to work around the User-Agent problem, we can go back to <links>, sidestepping the SSL problem. --> <offlineLink>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jun 06 21:05:32 UTC 2025 - 9.4K bytes - Viewed (0)