- Sort Score
- Num 10 results
- Language All
Results 761 - 770 of 4,168 for get (0.02 seconds)
-
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt
@Deprecated( message = "Use body.readUtf8()", replaceWith = ReplaceWith("body.readUtf8()"), level = DeprecationLevel.ERROR, ) val utf8Body: String get() = body.readUtf8() val tlsVersion: TlsVersion? get() = handshake?.tlsVersion internal constructor( requestLine: String, headers: Headers, chunkSizes: List<Int>, bodySize: Long, body: Buffer,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
* cleartext and may be monitored or blocked by a proxy or other middlebox. */ public val handshakeServerNames: List<String>, /** A string like `GET` or `POST`. */ public val method: String, /** * The request target from the original HTTP request. * * For origin-form requests this is a path like `/index.html`, that is combined with the `Host`
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 3.2K bytes - Click Count (1) -
guava/src/com/google/common/cache/ForwardingCache.java
@Override public @Nullable V getIfPresent(Object key) { return delegate().getIfPresent(key); } /** * @since 11.0 */ @Override public V get(K key, Callable<? extends V> valueLoader) throws ExecutionException { return delegate().get(key, valueLoader); } /** * @since 11.0 */ @Override /* * <? extends Object> is mostly the same as <?> to plain Java. But to nullness checkers, they
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 3.7K bytes - Click Count (0) -
tests/test_security_api_key_header_optional.py
user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User | None = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app) def test_security_api_key(): response = client.get("/users/me", headers={"key": "secret"})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.1K bytes - Click Count (0) -
tests/test_security_http_base.py
app = FastAPI() security = HTTPBase(scheme="Other") @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_base(): response = client.get("/users/me", headers={"Authorization": "Other foobar"})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.2K bytes - Click Count (0) -
internal/dsync/drwmutex.go
if locksFailed > tolerance { // We know that we are not going to get the lock anymore, // so exit out and release any locks that did get acquired done = true } } case <-ctx.Done(): // Capture timedout locks as failed or took too long locksFailed++ if locksFailed > tolerance { // We know that we are not going to get the lock anymore,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMultimap.java
return delegate().containsValue(value); } @Override public Collection<Entry<K, V>> entries() { return delegate().entries(); } @Override public Collection<V> get(@ParametricNullness K key) { return delegate().get(key); } @Override public boolean isEmpty() { return delegate().isEmpty(); } @Override public Multiset<K> keys() { return delegate().keys(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMultimap.java
return delegate().containsValue(value); } @Override public Collection<Entry<K, V>> entries() { return delegate().entries(); } @Override public Collection<V> get(@ParametricNullness K key) { return delegate().get(key); } @Override public boolean isEmpty() { return delegate().isEmpty(); } @Override public Multiset<K> keys() { return delegate().keys(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.1K bytes - Click Count (0) -
tests/test_security_http_basic_realm.py
app = FastAPI() security = HTTPBasic(realm="simple") @app.get("/users/me") def read_current_user(credentials: HTTPBasicCredentials = Security(security)): return {"username": credentials.username, "password": credentials.password} client = TestClient(app) def test_security_http_basic(): response = client.get("/users/me", auth=("john", "secret")) assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.7K bytes - Click Count (0) -
docs_src/path_params_numeric_validations/tutorial003_py310.py
from fastapi import FastAPI, Path app = FastAPI() @app.get("/items/{item_id}") async def read_items(*, item_id: int = Path(title="The ID of the item to get"), q: str): results = {"item_id": item_id} if q: results.update({"q": q})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 268 bytes - Click Count (0)