- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 135 for Scheme (0.39 sec)
-
okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt
assertThat(challenges.size).isEqualTo(1) assertThat(challenges[0].scheme).isEqualTo("Digest") assertThat(challenges[0].realm).isEqualTo("myrealm") assertThat(challenges[0].authParams) .isEqualTo(mapOf("realm" to "myrealm")) } @Test fun testDigestChallengeWithoutAuthParams() { // Scheme only. val headers = Headers.Builder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
HttpUrl.Builder() .scheme("http") .username("user") .host("host") .build() assertThat(httpUrl.toString()).isEqualTo("http://user@host/") assertThat(httpUrl.toUri().toString()).isEqualTo("http://user@host/") } @Test fun toUriUsernameSpecialCharacters() { val url = HttpUrl.Builder() .scheme("http") .host("host")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 38.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
val parse: CacheControl = CacheControl.parse(Headers.of()) } @Test @Disabled fun challenge() { val challenge = Challenge("", mapOf("" to "")) val scheme: String = challenge.scheme() val authParams: Map<String?, String> = challenge.authParams() val realm: String? = challenge.realm() val charset: Charset = challenge.charset() } @Test @Disabled
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
/** Returns true if an HTTP request for this URL and [other] can reuse a connection. */ internal fun HttpUrl.canReuseConnectionFor(other: HttpUrl): Boolean = host == other.host && port == other.port && scheme == other.scheme internal fun EventListener.asFactory() = EventListener.Factory { this } /** * Reads until this is exhausted or the deadline has been reached. This is careful to not extend the
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
This is the one used by the dependencies above. Here's were we are using the same OAuth2 scheme we created before, declaring it as a dependency: `oauth2_scheme`. Because this dependency function doesn't have any scope requirements itself, we can use `Depends` with `oauth2_scheme`, we don't have to use `Security` when we don't need to specify security scopes.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 21:21:35 GMT 2024 - 20.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/security/first-steps.md
Переменная `oauth2_scheme` является экземпляром `OAuth2PasswordBearer`, но она также является "вызываемой". Ее можно вызвать следующим образом: ```Python oauth2_scheme(some, parameters) ``` Поэтому ее можно использовать вместе с `Depends`. ### Использование Теперь вы можете передать ваш `oauth2_scheme` в зависимость с помощью `Depends`. === "Python 3.9+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 15.4K bytes - Viewed (0) -
docs/de/docs/tutorial/security/first-steps.md
Die Variable `oauth2_scheme` ist eine Instanz von `OAuth2PasswordBearer`, aber auch ein „Callable“. Es könnte wie folgt aufgerufen werden: ```Python oauth2_scheme(some, parameters) ``` Es kann also mit `Depends` verwendet werden. ### Verwendung Jetzt können Sie dieses `oauth2_scheme` als Abhängigkeit `Depends` übergeben. === "Python 3.9+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:07:08 GMT 2024 - 10.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
val url = userResponse.request.url.resolve(location) ?: return null // If configured, don't follow redirects between SSL and non-SSL. val sameScheme = url.scheme == userResponse.request.url.scheme if (!sameScheme && !client.followSslRedirects) return null // Most redirects don't include a request body. val requestBuilder = userResponse.request.newBuilder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12.1K bytes - Viewed (4) -
docs/ja/docs/tutorial/security/first-steps.md
変数`oauth2_scheme`は`OAuth2PasswordBearer`のインスタンスですが、「呼び出し可能」です。 次のように、呼ぶことができます: ```Python oauth2_scheme(some, parameters) ``` そのため、`Depends`と一緒に使うことができます。 ### 使い方 これで`oauth2_scheme`を`Depends`で依存関係に渡すことができます。 ```Python hl_lines="10" {!../../../docs_src/security/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.5K bytes - Viewed (0)