- Sort Score
- Num 10 results
- Language All
Results 921 - 930 of 1,201 for headset (0.06 seconds)
-
docs/zh-hant/docs/tutorial/testing.md
│ ├── main.py │ └── test_main.py ``` 假設現在你的 **FastAPI** 應用所在的 `main.py` 有一些其他的路徑操作(path operations)。 它有一個可能回傳錯誤的 `GET` 操作。 它有一個可能回傳多種錯誤的 `POST` 操作。 兩個路徑操作都需要一個 `X-Token` 標頭(header)。 {* ../../docs_src/app_testing/app_b_an_py310/main.py *} ### 擴充的測試檔案 { #extended-testing-file } 接著你可以把 `test_main.py` 更新為擴充後的測試: {* ../../docs_src/app_testing/app_b_an_py310/test_main.py *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 5.6K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
public fun close ()V public final fun code ()I public final fun handshake ()Lokhttp3/Handshake; public final fun header (Ljava/lang/String;)Ljava/lang/String; public final fun header (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; public static synthetic fun header$default (Lokhttp3/Response;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String; public final fun headers ()Lokhttp3/Headers;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
docs/ko/docs/tutorial/cookie-param-models.md
이를 통해 **여러 위치**에서 **모델을 재사용** 할 수 있고 모든 매개변수에 대한 유효성 검사 및 메타데이터를 한 번에 선언할 수도 있습니다. 😎 /// note | 참고 이 기능은 FastAPI 버전 `0.115.0` 이후부터 지원됩니다. 🤓 /// /// tip | 팁 동일한 기술이 `Query`, `Cookie`, 그리고 `Header`에 적용됩니다. 😎 /// ## Pydantic 모델을 사용한 쿠키 { #cookies-with-a-pydantic-model } **Pydantic 모델**에 필요한 **쿠키** 매개변수를 선언한 다음, 해당 매개변수를 `Cookie`로 선언합니다:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:57:01 GMT 2026 - 3.6K bytes - Click Count (0) -
docs/tr/docs/tutorial/server-sent-events.md
/// ## `Last-Event-ID` ile Devam Etme { #resuming-with-last-event-id } Bir tarayıcı bağlantı koptuktan sonra yeniden bağlandığında, son aldığı `id`'yi `Last-Event-ID` header'ında gönderir. Bunu bir header parametresi olarak okuyup, istemcinin kaldığı yerden akışı sürdürmek için kullanabilirsiniz: {* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *} ## POST ile SSE { #sse-with-post }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:51:35 GMT 2026 - 5.1K bytes - Click Count (0) -
internal/bucket/encryption/bucket-sse-config.go
// // Apply does not overwrite any existing SSE headers. Further, it will // set minimal SSE-KMS headers if autoEncrypt is true and the BucketSSEConfig // is nil. func (b *BucketSSEConfig) Apply(headers http.Header, opts ApplyOptions) { if crypto.Requested(headers) { return } if b == nil { if opts.AutoEncrypt { headers.Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS) } return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Oct 25 00:44:15 GMT 2022 - 4.9K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/middleware.md
任何指向 `http` 或 `ws` 的請求都會被重新導向至對應的安全協定。 {* ../../docs_src/advanced_middleware/tutorial001_py310.py hl[2,6] *} ## `TrustedHostMiddleware` { #trustedhostmiddleware } 強制所有傳入請求正確設定 `Host` 標頭,以防範 HTTP Host Header 攻擊。 {* ../../docs_src/advanced_middleware/tutorial002_py310.py hl[2,6:8] *} 支援以下參數: - `allowed_hosts` - 允許作為主機名稱的網域名稱清單。支援萬用字元網域(例如 `*.example.com`)以比對子網域。若要允許任意主機名稱,可使用 `allowed_hosts=["*"]`,或乾脆不要加上此中介軟體。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/tr/docs/advanced/websockets.md
## `Depends` ve Diğerlerini Kullanma { #using-depends-and-others } WebSocket endpoint'lerinde `fastapi` içinden import edip şunları kullanabilirsiniz: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` Diğer FastAPI endpoint'leri/*path operations* ile aynı şekilde çalışırlar: {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *} /// infoCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 5.9K bytes - Click Count (0) -
cmd/erasure-object.go
// GetObjectNInfo - returns object info and an object // Read(Closer). When err != nil, the returned reader is always nil. func (er erasureObjects) GetObjectNInfo(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, opts ObjectOptions) (gr *GetObjectReader, err error) { if !opts.NoAuditLog { auditObjectErasureSet(ctx, "GetObject", object, &er) } var unlockOnDefer bool nsUnlocker := func() {} defer func() {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 80.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
assertEquals(pathBytes.length, SMBUtil.readInt2(buffer, bodyOffset + 6)); // Path length } } @Test @DisplayName("Should correctly calculate path offset from header start") void testPathOffsetCalculation() throws Exception { // Given byte[] buffer = new byte[512]; int headerStart = 64; // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
fastapi/openapi/utils.py
cookie_params = _get_flat_fields_from_params(flat_dependant.cookie_params) parameter_groups = [ (ParamTypes.path, path_params), (ParamTypes.query, query_params), (ParamTypes.header, header_params), (ParamTypes.cookie, cookie_params), ] default_convert_underscores = True if len(flat_dependant.header_params) == 1: first_field = flat_dependant.header_params[0]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 25.6K bytes - Click Count (0)