- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 125 for userAgent (0.05 sec)
-
docs/en/docs/tutorial/header-params.md
Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case"). So, you can use `user_agent` as you normally would in Python code, instead of needing to capitalize the first letters as `User_Agent` or something similar. If for some reason you need to disable automatic conversion of underscores to hyphens, set the parameter `convert_underscores` of `Header` to `False`:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt
package okhttp3 import java.util.concurrent.CountDownLatch import java.util.concurrent.TimeUnit import java.util.concurrent.atomic.AtomicLong import java.util.concurrent.atomic.AtomicReference import okhttp3.internal.USER_AGENT import okio.ByteString /** * Exercises the web socket implementation against the * [Autobahn Testsuite](http://autobahn.ws/testsuite/). */ class AutobahnTester { val client = OkHttpClient()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/header-params.md
그러나 파이썬에서 `user-agent`와 같은 형태의 변수는 유효하지 않습니다. 따라서 `Header`는 기본적으로 매개변수 이름을 언더스코어(`_`)에서 하이픈(`-`)으로 변환하여 헤더를 추출하고 기록합니다. 또한 HTTP 헤더는 대소문자를 구분하지 않으므로 "snake_case"로 알려진 표준 파이썬 스타일로 선언할 수 있습니다. 따라서, `User_Agent` 등과 같이 첫 문자를 대문자화할 필요없이 파이썬 코드에서처럼 `user_agent`로 사용합니다. 만약 언더스코어를 하이픈으로 자동 변환을 비활성화해야 할 어떤 이유가 있다면, `Header`의 `convert_underscores` 매개변수를 `False`로 설정하십시오: {* ../../docs_src/header_params/tutorial002.py hl[10] *} /// warning | 경고
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingConfig.java
public static final String PROXY_PORT = HcHttpClient.PROXY_PORT_PROPERTY; public static final String PROXY_HOST = HcHttpClient.PROXY_HOST_PROPERTY; public static final String USER_AGENT = HcHttpClient.USER_AGENT_PROPERTY; } // xpath.* public static class XPath { public static final String DEFAULT_LANG = "default.lang";Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 5.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/header-params.md
しかし、`user-agent`のような変数はPythonでは無効です。 そのため、デフォルトでは、`Header`はパラメータの文字をアンダースコア(`_`)からハイフン(`-`)に変換して、ヘッダーを抽出して文書化します。 また、HTTPヘッダは大文字小文字を区別しないので、Pythonの標準スタイル(別名「スネークケース」)で宣言することができます。 そのため、`User_Agent`などのように最初の文字を大文字にする必要はなく、通常のPythonコードと同じように`user_agent`を使用することができます。 もしなんらかの理由でアンダースコアからハイフンへの自動変換を無効にする必要がある場合は、`Header`の`convert_underscores`に`False`を設定してください: {* ../../docs_src/header_params/tutorial002.py hl[9] *} /// warning | 注意Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
import okhttp3.Address import okhttp3.ConnectionSpec import okhttp3.HttpUrl import okhttp3.Protocol import okhttp3.Request import okhttp3.Response import okhttp3.Route import okhttp3.internal.USER_AGENT import okhttp3.internal.canReuseConnectionFor import okhttp3.internal.closeQuietly import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.concurrent.withLock
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
for (i in this) { if (predicate(i)) { if (result.isEmpty()) result = mutableListOf() (result as MutableList<T>).add(i) } } return result } internal const val USER_AGENT: String = "okhttp/${CONST_VERSION}" internal fun checkOffsetAndCount( arrayLength: Long, offset: Long, count: Long, ) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
// configProps map is kept "pristine", is written ONLY, the mandatory resolver config Map<String, Object> configProps = new LinkedHashMap<>(); configProps.put(ConfigurationProperties.USER_AGENT, getUserAgent()); configProps.put(ConfigurationProperties.INTERACTIVE, request.isInteractiveMode()); configProps.put("maven.startTime", request.getStartTime());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 17 05:56:35 UTC 2025 - 25.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
import okhttp3.RequestBody.Companion.toRequestBody import okhttp3.TestUtil.assertSuppressed import okhttp3.internal.RecordingAuthenticator import okhttp3.internal.RecordingOkAuthenticator import okhttp3.internal.USER_AGENT import okhttp3.internal.addHeaderLenient import okhttp3.internal.authenticator.JavaNetAuthenticator import okhttp3.internal.http.HTTP_PERM_REDIRECT import okhttp3.internal.http.HTTP_TEMP_REDIRECT
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
import okhttp3.TestUtil.assumeNotWindows import okhttp3.TestUtil.awaitGarbageCollection import okhttp3.internal.DoubleInetAddressDns import okhttp3.internal.RecordingOkAuthenticator import okhttp3.internal.USER_AGENT import okhttp3.internal.addHeaderLenient import okhttp3.internal.closeQuietly import okhttp3.internal.http.HTTP_EARLY_HINTS import okhttp3.internal.http.HTTP_PROCESSING
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 147.4K bytes - Viewed (0)