- Sort Score
- Num 10 results
- Language All
Results 881 - 890 of over 10,000 for http2 (0.08 seconds)
-
tests/test_stream_cancellation.py
await anyio.sleep(float("inf")) return {"type": "http.disconnect"} # pragma: no cover async def send(message: dict) -> None: # type: ignore[type-arg] if message["type"] == "http.response.body": chunks.append(message.get("body", b"")) scope = { "type": "http", "asgi": {"version": "3.0", "spec_version": "2.0"}, "http_version": "1.1",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 2.7K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/middleware.md
要建立中介軟體,將裝飾器 `@app.middleware("http")` 加在函式上方。 中介軟體函式會接收: - `request`。 - 一個函式 `call_next`,會以 `request` 作為參數。 - 這個函式會把 `request` 傳給對應的*路徑操作*。 - 然後回傳對應*路徑操作*所產生的 `response`。 - 然後你可以在回傳之前進一步修改 `response`。 {* ../../docs_src/middleware/tutorial001_py310.py hl[8:9,11,14] *} /// tip 請記得,自訂的非標準標頭可以[使用 `X-` 前綴](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers)。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.7K bytes - Click Count (0) -
docs/en/docs/reference/security/index.md
## API Key Security Schemes ::: fastapi.security.APIKeyCookie ::: fastapi.security.APIKeyHeader ::: fastapi.security.APIKeyQuery ## HTTP Authentication Schemes ::: fastapi.security.HTTPBasic ::: fastapi.security.HTTPBearer ::: fastapi.security.HTTPDigest ## HTTP Credentials
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:41:54 GMT 2026 - 1.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTagsTest.kt
val clientTestRule = OkHttpClientTestRule() private var client = clientTestRule.newClient() @Test fun tagsSeededFromRequest() { val request = Request .Builder() .url("https://square.com/".toHttpUrl()) .tag(Integer::class, 5 as Integer) .tag(String::class, "hello") .build() val call = client.newCall(request) // Check the Kotlin-focused APIs.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Oct 26 14:54:46 GMT 2025 - 2.8K bytes - Click Count (0) -
cmd/sts-errors.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "encoding/xml" "net/http" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/logger" ) // writeSTSErrorResponse writes error headers func writeSTSErrorResponse(ctx context.Context, w http.ResponseWriter, errCode STSErrorCode, err error) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 05 00:29:41 GMT 2025 - 6K bytes - Click Count (1) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/repositories-extensions.kt
*/ package gradlebuild.basics import org.gradle.api.artifacts.dsl.RepositoryHandler fun RepositoryHandler.googleApisJs() { ivy { name = "googleApisJs" setUrl("https://ajax.googleapis.com/ajax/libs") patternLayout { artifact("[organization]/[revision]/[module].[ext]") ivy("[organization]/[revision]/[module].xml") } metadataSources {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 16:47:41 GMT 2026 - 1.1K bytes - Click Count (0) -
buildscripts/verify-healing.sh
start_port=$1 args="" for d in $(seq 1 3 5); do args="$args http://127.0.0.1:$((start_port + 1))${WORK_DIR}/1/${d}/ http://127.0.0.1:$((start_port + 2))${WORK_DIR}/2/${d}/ http://127.0.0.1:$((start_port + 3))${WORK_DIR}/3/${d}/ " d=$((d + 1)) args="$args http://127.0.0.1:$((start_port + 1))${WORK_DIR}/1/${d}/ http://127.0.0.1:$((start_port + 2))${WORK_DIR}/2/${d}/ http://127.0.0.1:$((start_port + 3))${WORK_DIR}/3/${d}/ " doneCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 4K bytes - Click Count (0) -
buildscripts/resolve-right-versions.sh
export MINIO_ROOT_USER=minio export MINIO_ROOT_PASSWORD=minio123 export MC_HOST_minio="http://minio:minio123@127.0.0.1:${start_port}/" unset MINIO_KMS_AUTO_ENCRYPTION # do not auto-encrypt objects export MINIO_CI_CD=1 MC_BUILD_DIR="mc-$RANDOM" if ! git clone --quiet https://github.com/minio/mc "$MC_BUILD_DIR"; then echo "failed to download https://github.com/minio/mc" purge "${MC_BUILD_DIR}" exit 1 fiCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Aug 16 14:51:33 GMT 2023 - 1.5K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/request-forms.md
若想進一步了解這些編碼與表單欄位,請參考 [<abbr title="Mozilla Developer Network - Mozilla 開發者網路">MDN</abbr> web docs 的 `POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST)。 /// /// warning 你可以在一個 *路徑操作(path operation)* 中宣告多個 `Form` 參數,但不能同時再宣告期望以 JSON 接收的 `Body` 欄位,因為該請求的本文會使用 `application/x-www-form-urlencoded` 編碼,而不是 `application/json`。 這不是 **FastAPI** 的限制,而是 HTTP 協定本身的規定。 /// ## 回顧 { #recap }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 2.5K bytes - Click Count (0) -
docs/en/docs/tutorial/body-updates.md
# Body - Updates { #body-updates } ## Update replacing with `PUT` { #update-replacing-with-put } To update an item you can use the [HTTP `PUT`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT) operation. You can use the `jsonable_encoder` to convert the input data to data that can be stored as JSON (e.g. with a NoSQL database). For example, converting `datetime` to `str`. {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0)