- Sort Score
- Num 10 results
- Language All
Results 1311 - 1320 of 1,625 for leader (0.11 seconds)
-
docs/zh/docs/tutorial/security/index.md
OpenAPI 有一种定义多个安全「方案」的方法。 通过使用它们,你可以利用所有这些基于标准的工具,包括这些交互式文档系统。 OpenAPI 定义了以下安全方案: * `apiKey`:一个特定于应用程序的密钥,可以来自: * 查询参数。 * 请求头。 * cookie。 * `http`:标准的 HTTP 身份认证系统,包括: * `bearer`: 一个值为 `Bearer ` 加令牌字符串的 `Authorization` 请求头。这是从 OAuth2 继承的。 * HTTP Basic 认证方式。 * HTTP Digest,等等。 * `oauth2`:所有的 OAuth2 处理安全性的方式(称为「流程」)。 *以下几种流程适合构建 OAuth 2.0 身份认证的提供者(例如 Google,Facebook,X (Twitter),GitHub 等):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/tr/docs/alternatives.md
Harika performans elde etmenin yollarını bulmak. Hug ile birlikte (Hug, Falcon’a dayanır) **FastAPI**’da fonksiyonlarda opsiyonel bir `response` parametresi ilan edilmesi fikrine ilham vermek. FastAPI’da bu parametre çoğunlukla header, cookie ve alternatif durum kodlarını ayarlamak için kullanılır. /// ### [Molten](https://moltenframework.com/) { #molten }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 24K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py
async def read_admin(): return {"message": "Admin Access"} client = TestClient(app) def test_read_admin(): response = client.get("/admin", headers={"Authorization": "Bearer faketoken"}) assert response.status_code == 200, response.text assert response.json() == {"message": "Admin Access"} def test_openapi_schema(): response = client.get("/openapi.json")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.6K bytes - Click Count (0) -
docs/en/docs/advanced/websockets.md
## Using `Depends` and others { #using-depends-and-others } In WebSocket endpoints you can import from `fastapi` and use: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` They work the same way as for other FastAPI endpoints/*path operations*: {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *} /// infoCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 5.3K bytes - Click Count (0) -
docs/ru/docs/advanced/websockets.md
## Использование `Depends` и не только { #using-depends-and-others } Вы можете импортировать из `fastapi` и использовать в эндпоинте вебсокета: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` Они работают так же, как и в других FastAPI эндпоинтах/*операциях пути*: {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *} /// info | ПримечаниеCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 8.2K bytes - Click Count (0) -
internal/http/transports.go
type uaTransport struct { ua string rt http.RoundTripper } func (u *uaTransport) RoundTrip(req *http.Request) (*http.Response, error) { req2 := req.Clone(req.Context()) req2.Header.Set("User-Agent", u.ua) return u.rt.RoundTrip(req2) } // WithUserAgent wraps an existing transport with custom User-Agent func WithUserAgent(rt http.RoundTripper, getUA func() string) http.RoundTripper {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 17:51:53 GMT 2025 - 6.5K bytes - Click Count (0) -
.teamcity/performance-test-durations.json
"durations" : [ { "testProject" : "largeJavaMultiProject", "linux" : 229 }, { "testProject" : "largeMonolithicJavaProject", "linux" : 137 } ] }, { "scenario" : "org.gradle.performance.regression.corefeature.TaskAvoidancePerformanceTest.help with lazy and eager tasks", "durations" : [ {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 04:45:09 GMT 2026 - 26.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
verify(mockInputBuffer).encode(any(byte[].class), anyInt()); // Verify total bytes written assertEquals(90, bytesWritten); // 40 bytes header + 50 bytes input buffer } catch (Exception e) { throw new RuntimeException(e); } } @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
apache-maven/pom.xml
<dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-logging</artifactId> </dependency> <dependency> <groupId>org.jline</groupId> <artifactId>jline-reader</artifactId> </dependency> <dependency> <groupId>org.jline</groupId> <artifactId>jline-terminal-jni</artifactId> </dependency> <dependency> <groupId>org.jline</groupId>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 30 07:38:30 GMT 2026 - 13K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
import okhttp3.internal.ws.WebSocketProtocol.toggleMask import okio.Buffer import okio.BufferedSource import okio.ByteString /** * An [RFC 6455][rfc_6455]-compatible WebSocket frame reader. * * This class is not thread safe. * * [rfc_6455]: http://tools.ietf.org/html/rfc6455 */ class WebSocketReader( private val isClient: Boolean, val source: BufferedSource,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10K bytes - Click Count (0)