- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 1,488 for header3 (0.05 seconds)
-
docs/es/docs/advanced/custom-response.md
* `path` - La path del archivo para el archivo a transmitir. * `headers` - Cualquier header personalizado para incluir, como un diccionario. * `media_type` - Un string que da el media type. Si no se establece, se usará el nombre de archivo o la path para inferir un media type. * `filename` - Si se establece, se incluirá en el response `Content-Disposition`. Los responses de archivos incluirán los headers apropiados `Content-Length`, `Last-Modified` y `ETag`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 11.6K bytes - Click Count (0) -
docs/de/docs/advanced/custom-response.md
* `content` – Ein `str` oder `bytes`. * `status_code` – Ein `int`-HTTP-Statuscode. * `headers` – Ein `dict` von Strings. * `media_type` – Ein `str`, der den Medientyp angibt. Z. B. `"text/html"`. FastAPI (eigentlich Starlette) fügt automatisch einen Content-Length-Header ein. Außerdem wird es einen Content-Type-Header einfügen, der auf dem `media_type` basiert, und für Texttypen einen Zeichensatz (charset) anfügen.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.5K bytes - Click Count (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt
headers = Headers.headersOf("content-type", "application/json"), ), ) server.enqueue( MockResponse( body = """ |data: hey | | """.trimMargin(), headers = Headers.headersOf("content-type", "text/event-stream"), ), )
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 3.6K bytes - Click Count (0) -
fastapi/dependencies/utils.py
processed_keys = set() for field in fields_to_extract: alias = None if isinstance(received_params, Headers): # Handle fields extracted from a Pydantic Model for a header, each field # doesn't have a FieldInfo of type Header with the default convert_underscores=True convert_underscores = getattr(Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 38.7K bytes - Click Count (3) -
src/main/java/org/codelibs/fess/app/web/admin/reqheader/SearchForm.java
*/ package org.codelibs.fess.app.web.admin.reqheader; /** * The search form for Request Header. */ public class SearchForm { /** * Default constructor for SearchForm. */ public SearchForm() { } /** * The ID field for searching request headers. */ public String id;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 930 bytes - Click Count (0) -
internal/crypto/error.go
// ErrIncompatibleEncryptionMethod indicates that both SSE-C headers and SSE-S3 headers were specified, and are incompatible // The client needs to remove the SSE-S3 header or the SSE-C headers ErrIncompatibleEncryptionMethod = Errorf("Server side encryption specified with both SSE-C and SSE-S3 headers")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.4K bytes - Click Count (0) -
tests/test_security_api_key_header.py
response = client.get("/users/me", headers={"key": "secret"}) assert response.status_code == 200, response.text assert response.json() == {"username": "secret"} def test_security_api_key_no_key(): response = client.get("/users/me") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "APIKey"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
// Mock getHeaderFields to return our headers Map<String, List<String>> allHeaders = headers != null ? new HashMap<>(headers) : new HashMap<>(); allHeaders.put(null, Collections.singletonList(statusLine)); // Status line when(conn.getHeaderFields()).thenReturn(allHeaders); // Mock individual header access by both string key and index if (headers != null) { // Mock by header nameCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
CurlRequest request = new CurlRequest(Method.POST, "https://example.com"); // Add multiple headers request.header("Accept", "application/json").header("Content-Type", "application/json").header("Authorization", "Bearer token123") .header("X-Custom-Header", "custom-value"); assertNotNull(request); } @Test public void testGzipSetsCompressionToGzip() {
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (0) -
cmd/xl-storage-format-v2.go
case !strict && ver.header.matchesNotStrict(latest.header): latestCount++ default: latestCount = 1 } latest = ver continue } // Mismatch, but older. if latestCount > 0 && !strict && ver.header.matchesNotStrict(latest.header) { latestCount++ continue } if latestCount > 0 && ver.header.VersionID == latest.header.VersionID {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 65.6K bytes - Click Count (1)