- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 858 for accepts (0.04 seconds)
-
docs_src/app_testing/tutorial002_py39.py
app = FastAPI() @app.get("/") async def read_main(): return {"msg": "Hello World"} @app.websocket("/ws") async def websocket(websocket: WebSocket): await websocket.accept() await websocket.send_json({"msg": "Hello WebSocket"}) await websocket.close() def test_read_main(): client = TestClient(app) response = client.get("/") assert response.status_code == 200
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 757 bytes - Click Count (0) -
docs/ru/docs/advanced/middleware.md
Если входящий запрос не проходит валидацию, будет отправлен ответ `400`. ## `GZipMiddleware` { #gzipmiddleware } Обрабатывает GZip‑ответы для любых запросов, которые включают `"gzip"` в заголовке `Accept-Encoding`. Это middleware обрабатывает как обычные, так и потоковые ответы. {* ../../docs_src/advanced_middleware/tutorial003_py39.py hl[2,6] *} Поддерживаются следующие аргументы:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/MetadataResolutionRequest.java
/** * Indicates whether network access to remote repositories has been disabled. * * @return {@code true} if remote access has been disabled, {@code false} otherwise. */ @Override boolean isOffline(); /** * Enables/disables network access to remote repositories. * * @param offline {@code true} to disable remote access, {@code false} to allow network access.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.9K bytes - Click Count (0) -
docs/docker/README.md
## MinIO Docker Tips ### MinIO Custom Access and Secret Keys To override MinIO's auto-generated keys, you may pass secret and access keys explicitly as environment variables. MinIO server also allows regular strings as access and secret keys. #### GNU/Linux and macOS (custom access and secret keys) ```sh docker run \ -p 9000:9000 \ -p 9001:9001 \ --name minio1 \
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 8.2K bytes - Click Count (0) -
cmd/streaming-signature-v4_test.go
{"000000000000bogus", 0, "invalid byte in chunk length"}, {"00000000000000000", 0, "http chunk length too large"}, // could accept if we wanted {"10000000000000000", 0, "http chunk length too large"}, {"00000000000000001", 0, "http chunk length too large"}, // could accept if we wanted } for i := uint64(0); i <= 1234; i++ { tests = append(tests, testCase{in: fmt.Sprintf("%x", i), want: i}) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
public void warnAboutDeprecatedOptions(ParserRequest request, Consumer<String> printWriter) { if (cliManager.getUsedDeprecatedOptions().isEmpty()) { return; } printWriter.accept("Detected deprecated option use in " + source); for (Option option : cliManager.getUsedDeprecatedOptions()) { StringBuilder sb = new StringBuilder(); sb.append("The option ");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Oct 08 07:36:42 GMT 2025 - 21.3K bytes - Click Count (0) -
okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt
* limitations under the License. */ package okhttp3.brotli import okhttp3.CompressionInterceptor import okhttp3.Gzip /** * Transparent Brotli response support. * * Adds Accept-Encoding: br to request and checks (and strips) for Content-Encoding: br in * responses. n.b. this replaces the transparent gzip compression in BridgeInterceptor. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 15:15:28 GMT 2025 - 979 bytes - Click Count (0) -
docs/en/docs/reference/websockets.md
- cookies - client - state - url_for - client_state - application_state - receive - send - accept - receive_text - receive_bytes - receive_json - iter_text - iter_bytes - iter_json - send_text - send_bytesCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Aug 06 04:48:30 GMT 2024 - 1.7K bytes - Click Count (0) -
.github/workflows/multipart/migrate.sh
./mc cp -r --quiet /usr/bin site1/testbucket/ sleep 5 ./s3-check-md5 -h failed_count_site1=$(./s3-check-md5 -versions -access-key minioadmin -secret-key minioadmin -endpoint http://site1-nginx:9001 -bucket testbucket 2>&1 | grep FAILED | wc -l) failed_count_site2=$(./s3-check-md5 -versions -access-key minioadmin -secret-key minioadmin -endpoint http://site2-nginx:9002 -bucket testbucket 2>&1 | grep FAILED | wc -l)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon May 27 19:17:46 GMT 2024 - 4.3K bytes - Click Count (0) -
tests/test_tutorial/test_cors/test_tutorial001.py
headers = { "Origin": "https://localhost.tiangolo.com", "Access-Control-Request-Method": "GET", "Access-Control-Request-Headers": "X-Example", } response = client.options("/", headers=headers) assert response.status_code == 200, response.text assert response.text == "OK" assert ( response.headers["access-control-allow-origin"] == "https://localhost.tiangolo.com" )Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.3K bytes - Click Count (0)