- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 138 for 1012 (0.03 sec)
-
docs/es/docs/advanced/security/http-basic-auth.md
Luego podemos usar `secrets.compare_digest()` para asegurar que `credentials.username` es `"stanleyjobson"`, y que `credentials.password` es `"swordfish"`. {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *} Esto sería similar a: ```Python if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"): # Return some error ... ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 5.1K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
Then we can use `secrets.compare_digest()` to ensure that `credentials.username` is `"stanleyjobson"`, and that `credentials.password` is `"swordfish"`. {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *} This would be similar to: ```Python if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"): # Return some error ... ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0) -
docs/es/docs/tutorial/middleware.md
Por ejemplo, podrías añadir un custom header `X-Process-Time` que contenga el tiempo en segundos que tomó procesar la request y generar una response: {* ../../docs_src/middleware/tutorial001.py hl[10,12:13] *} /// tip | Consejo
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/ja/docs/tutorial/middleware.md
*path operation* が `request` を受け取る前に、 `request` とともに実行されるコードを追加できます。 また `response` が生成された後、それを返す前にも追加できます。 例えば、リクエストの処理とレスポンスの生成にかかった秒数を含むカスタムヘッダー `X-Process-Time` を追加できます: {* ../../docs_src/middleware/tutorial001.py hl[10,12:13] *} ## その他のミドルウェア 他のミドルウェアの詳細については、[高度なユーザーガイド: 高度なミドルウェア](../advanced/middleware.md){.internal-link target=_blank}を参照してください。
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt
@Test fun sameKeypairSamePin() { val heldCertificateA2 = HeldCertificate .Builder() .keyPair(certA1.keyPair) .serialNumber(101L) .build() val keypairACertificate2Pin = pin(heldCertificateA2.certificate) val heldCertificateB2 = HeldCertificate .Builder() .keyPair(certB1.keyPair) .serialNumber(201L)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStatsAccumulator.java
/* * Copyright (C) 2012 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under the License
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 10.4K bytes - Viewed (0) -
api/maven-api-plugin/src/main/mdo/plugin.mdo
<version>1.1.0+</version> <description> A version range which specifies the supported Java versions. A version range can either use the usual mathematical syntax "[2.0.10,2.1.0),[3.0,)" or use a single version "2.2.1". The latter is a short form for "[2.2.1,)", i.e. denotes the minimum version required. @since Maven 4.0.0-alpha-3 </description> <type>String</type>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Feb 25 08:28:41 UTC 2025 - 24.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
testReverse(new double[] {1}, 0, 1, new double[] {1}); testReverse(new double[] {1, 2}, 0, 2, new double[] {2, 1}); testReverse(new double[] {3, 1, 1}, 0, 2, new double[] {1, 3, 1}); testReverse(new double[] {3, 1, 1}, 0, 1, new double[] {3, 1, 1}); testReverse(new double[] {-1, 1, -2, 2}, 1, 3, new double[] {-1, -2, 1, 2}); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
multimap.putAll("bar", asList(4, 5)); multimap.putAll("foo", asList(6)); multimap.putAll("baz", asList(7, 8)); multimap.putAll("dog", asList(9)); multimap.putAll("bar", asList(10, 11)); multimap.putAll("cat", asList(12, 13, 14)); return multimap.keySet().iterator(); } @Override protected void verify(List<String> elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
public void testManyEqual() { assertThat( ComparisonChain.start() .compare(1, 1) .compare(1L, 1L) .compareFalseFirst(true, true) .compare(1.0, 1.0) .compare(1.0f, 1.0f) .compare("a", "a", Ordering.usingToString()) .result()) .isEqualTo(0); } public void testShortCircuitLess() { assertThat(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:05:13 UTC 2025 - 7.6K bytes - Viewed (0)