- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 154 for useragent (0.17 seconds)
-
docs/tr/docs/tutorial/header-params.md
Ayrıca HTTP header'ları büyük/küçük harfe duyarlı değildir; dolayısıyla onları standart Python stiliyle (diğer adıyla "snake_case") tanımlayabilirsiniz. Yani `User_Agent` gibi bir şey yazıp ilk harfleri büyütmeniz gerekmeden, Python kodunda normalde kullandığınız gibi `user_agent` kullanabilirsiniz.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 15:43:38 GMT 2026 - 3.3K bytes - Click Count (0) -
docs/pt/docs/tutorial/header-params.md
Portanto, você pode usar `user_agent` como faria normalmente no código Python, em vez de precisar colocar as primeiras letras em maiúsculas como `User_Agent` ou algo semelhante.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:48:53 GMT 2026 - 3.3K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/header-params.md
大多數標準標頭的單字以連字號(減號,`-`)分隔。 但像 `user-agent` 這樣的變數名稱在 Python 中是無效的。 因此,`Header` 會在預設情況下把參數名稱中的底線(`_`)轉換為連字號(`-`),以便讀取並在文件中顯示該標頭。 此外,HTTP 標頭不區分大小寫,所以你可以使用標準的 Python 命名風格(snake_case)來宣告。 因此,你可以像在 Python 程式中一樣使用 `user_agent`,不需要把首字母大寫成 `User_Agent` 或類似寫法。 若因某些原因需要停用底線自動轉連字號的行為,將 `Header` 的 `convert_underscores` 參數設為 `False`: {* ../../docs_src/header_params/tutorial002_an_py310.py hl[10] *} /// warning | 警告Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 2.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
*/ package okhttp3.internal.http import java.io.IOException import okhttp3.Cookie import okhttp3.CookieJar import okhttp3.Interceptor import okhttp3.Response import okhttp3.internal.USER_AGENT import okhttp3.internal.toHostHeader import okio.GzipSource import okio.buffer /** * Bridges from application code to network code. First it builds a network request from a user
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 4.2K bytes - Click Count (0) -
tests/test_response_dependency.py
"""Request type hint should work in dependency chain.""" app = FastAPI() def extract_request_info(request: Request) -> dict: return { "path": request.url.path, "user_agent": request.headers.get("user-agent", "unknown"), } @app.get("/") def endpoint( info: Annotated[dict, Depends(extract_request_info)], ): return infoCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:23:16 GMT 2026 - 5.2K bytes - Click Count (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_an_py310.py hl[10] *} /// warning | 경고
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Jan 11 00:15:26 GMT 2026 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
@Test public void test_parseWithUserAgent() { GsaConfigParser parser = new GsaConfigParser(); String xmlWithUserAgent = "<?xml version=\"1.0\"?>" + "<eef><config><globalparams>" + "<user_agent>custom-agent</user_agent>" + "<start_urls>https://example.com</start_urls>" + "</globalparams></config></eef>"; parser.parse(new InputSource(new StringReader(xmlWithUserAgent)));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.7K bytes - Click Count (0) -
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`:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 3K bytes - Click Count (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()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/resources/fess_indices/fess/fr/stopwords.txt
l à m n s t y été étée étées étés étant suis es est sommes êtes sont serai seras sera serons serez seront serais serait serions seriez seraient étais était étions étiez étaient fus fut fûmes fûtes furent sois soit soyons soyez soient fusse fusses fût fussions fussiez fussent ayant eu
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 27 12:59:36 GMT 2023 - 977 bytes - Click Count (0)