- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 1,460 for hendes (0.19 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
} /** Accept headers from the network and store them until the client calls [takeHeaders]. */ fun receiveHeaders( headers: Headers, inFinished: Boolean, ) { assertLockNotHeld() val open: Boolean withLock { if (!hasResponseHeaders || headers[Header.RESPONSE_STATUS_UTF8] != null || headers[Header.TARGET_METHOD_UTF8] != null ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 07 18:57:05 GMT 2025 - 22.4K bytes - Click Count (0) -
internal/handlers/forwarder.go
clientIP = ipv6fix(clientIP) if req.Header.Get(xRealIP) == "" { req.Header.Set(xRealIP, clientIP) } } xfProto := req.Header.Get(xForwardedProto) if xfProto == "" { if req.TLS != nil { req.Header.Set(xForwardedProto, "https") } else { req.Header.Set(xForwardedProto, "http") } } if xfPort := req.Header.Get(xForwardedPort); xfPort == "" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.7K bytes - Click Count (0) -
docs/ko/docs/tutorial/header-param-models.md
# 헤더 매개변수 모델 { #header-parameter-models } 관련 있는 **헤더 매개변수** 그룹이 있는 경우, **Pydantic 모델**을 생성하여 선언할 수 있습니다. 이를 통해 **여러 위치**에서 **모델을 재사용할** 수 있고 모든 매개변수에 대한 유효성 검사 및 메타데이터를 한 번에 선언할 수도 있습니다. 😎 /// note | 참고 이 기능은 FastAPI 버전 `0.115.0` 이후부터 지원됩니다. 🤓 /// ## Pydantic 모델을 사용한 헤더 매개변수 { #header-parameters-with-a-pydantic-model } **Pydantic 모델**에 필요한 **헤더 매개변수**를 선언한 다음, 해당 매개변수를 `Header`로 선언합니다:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:57:01 GMT 2026 - 2.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/header-param-models.md
# 標頭參數模型 { #header-parameter-models } 如果你有一組相關的標頭參數,可以建立一個 Pydantic 模型來宣告它們。 這能讓你在多處重複使用該模型,並一次性為所有參數宣告驗證與中繼資料。😎 /// note | 注意 自 FastAPI 版本 `0.115.0` 起支援。🤓 /// ## 以 Pydantic 模型宣告標頭參數 { #header-parameters-with-a-pydantic-model } 在 Pydantic 模型中宣告你需要的標頭參數,然後將參數宣告為 `Header`: {* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *} FastAPI 會從請求的標頭為每個欄位擷取資料,並交給你已定義的 Pydantic 模型實例。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 2.3K bytes - Click Count (0) -
docs/tr/docs/tutorial/header-param-models.md
## Pydantic Model ile Header Parametreleri { #header-parameters-with-a-pydantic-model } İhtiyacınız olan **header parametreleri**ni bir **Pydantic model** içinde tanımlayın, ardından parametreyi `Header` olarak belirtin: {* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *} **FastAPI**, request içindeki **headers** bölümünden **her alan** için veriyi **çıkarır** ve size tanımladığınız Pydantic model örneğini verir.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 15:43:38 GMT 2026 - 2.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
/** * Returns the subset of the headers in [requestHeaders] that impact the content of the * response's body. */ private fun varyHeaders( requestHeaders: Headers, responseHeaders: Headers, ): Headers { val varyFields = responseHeaders.varyFields() if (varyFields.isEmpty()) return Headers.EMPTY val result = Headers.Builder()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
* Fix: Include a backwards-compatible `OkHttp-Response-Source` header with `OkUrlFactory `responses. * Fix: Don't include a default User-Agent header in requests made with the Call API. Requests made with OkUrlFactory will continue to have a default user agent. * New: Guava-like API to create headers: ```java Headers headers = Headers.of(name1, value1, name2, value2, ...). ```Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt
package okhttp3.internal.http1 import okhttp3.Headers import okhttp3.internal.HEADER_LIMIT import okio.BufferedSource /** * Parse all headers delimited by "\r\n" until an empty line. This throws if headers exceed 256 KiB. */ class HeadersReader( val source: BufferedSource, ) { private var headerLimit = HEADER_LIMIT /** Read a single line counted against the header size limit. */ fun readLine(): String {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 1.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
multipartBody.writeTo(buffer) val multipartReader = MultipartReader(buffer, "foo") val onlyPart = multipartReader.nextPart()!! assertThat(onlyPart.headers).isEqualTo( headersOf( "header-name", "header-value", "Content-Type", "application/octet-stream", ), ) val readBuff = Buffer() var byteCount = 0L while (true) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 02:11:14 GMT 2025 - 15.4K bytes - Click Count (0) -
docs/de/llm-prompt.md
* the exception: die Exception * the exception handler: der Exceptionhandler * the form model: das Formularmodell * the form body: der Formularbody * the header: der Header * the headers (plural): die Header * in headers (plural): in Headern * the forwarded header: der Forwarded-Header * the lifespan event: das Lifespan-Event * the lock: der Lock * the locking: das Locking * the mobile application: die Mobile-Anwendung
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Dec 29 18:54:20 GMT 2025 - 9.8K bytes - Click Count (0)