- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,563 for request_ (0.16 sec)
-
docs/pt/docs/contributing.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 14.8K bytes - Viewed (0) -
docs/pt/docs/alternatives.md
/// ### <a href="https://requests.readthedocs.io" class="external-link" target="_blank">Requests</a> **FastAPI** não é uma alternativa para **Requests**. O escopo deles é muito diferente. Na verdade é comum utilizar Requests *dentro* de uma aplicação FastAPI. Ainda assim, FastAPI pegou alguma inspiração do Requests.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 25.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Request.kt
} internal constructor(request: Request) { this.url = request.url this.method = request.method this.body = request.body this.tags = when { request.tags.isEmpty() -> mapOf() else -> request.tags.toMutableMap() } this.headers = request.headers.newBuilder() this.cacheUrlOverride = request.cacheUrlOverride }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:17:44 UTC 2024 - 10.5K bytes - Viewed (0) -
mockwebserver/README.md
// Optional: confirm that your app made the HTTP requests you were expecting. RecordedRequest request1 = server.takeRequest(); assertEquals("/v1/chat/messages/", request1.getPath()); assertNotNull(request1.getHeader("Authorization")); RecordedRequest request2 = server.takeRequest(); assertEquals("/v1/chat/messages/2", request2.getPath()); RecordedRequest request3 = server.takeRequest();
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 5K bytes - Viewed (0) -
docs/de/docs/advanced/using-request-directly.md
/// ## `Request`-Dokumentation Weitere Details zum <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request`-Objekt finden Sie in der offiziellen Starlette-Dokumentation</a>. /// note | "Technische Details" Sie können auch `from starlette.requests import Request` verwenden.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/pt/docs/advanced/using-request-directly.md
/// ## Documentação do `Request` Você pode ler mais sobre os detalhes do objeto <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request` no site da documentação oficial do Starlette.</a>. /// note | "Detalhes Técnicos" Você também pode utilizar `from starlette.requests import Request`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/zh/docs/advanced/using-request-directly.md
但在某些特定情况下,还是需要提取 `Request` 对象。 ## 直接使用 `Request` 对象 假设要在*路径操作函数*中获取客户端 IP 地址和主机。 此时,需要直接访问请求。 ```Python hl_lines="1 7-8" {!../../docs_src/using_request_directly/tutorial001.py!} ``` 把*路径操作函数*的参数类型声明为 `Request`,**FastAPI** 就能把 `Request` 传递到参数里。 /// tip | "提示" 注意,本例除了声明请求参数之外,还声明了路径参数。 因此,能够提取、验证路径参数、并转换为指定类型,还可以用 OpenAPI 注释。 同样,您也可以正常声明其它参数,而且还可以提取 `Request`。 /// ## `Request` 文档
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2K bytes - Viewed (0) -
docs/en/docs/reference/request.md
# `Request` class You can declare a parameter in a *path operation function* or dependency to be of type `Request` and then you can access the raw request object directly, without any validation, etc. You can import it directly from `fastapi`: ```python from fastapi import Request ``` /// tip
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 518 bytes - Viewed (0) -
docs/de/docs/how-to/custom-request-and-route.md
Ein `Request` hat auch ein `request.receive`, welches eine Funktion ist, die den Hauptteil des Requests empfängt. Das `scope`-`dict` und die `receive`-Funktion sind beide Teil der ASGI-Spezifikation. Und diese beiden Dinge, `scope` und `receive`, werden benötigt, um eine neue `Request`-Instanz zu erstellen.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
.cache(cache) .build() val request1 = Request(server.url("/")) client.newCall(request1).enqueue(callback) callback.await(request1.url).assertCode(200).assertBody("A") assertThat(server.takeRequest().headers["If-None-Match"]).isNull() val request2 = Request(server.url("/")) client.newCall(request2).enqueue(callback) callback.await(request2.url).assertCode(200).assertBody("A")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0)