- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,882 for these (0.08 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java
import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Response; public final class PostMultipart { /** * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running * these examples, please request your own client ID! https://api.imgur.com/oauth2 */ private static final String IMGUR_CLIENT_ID = "9199fdef135c122"; private static final MediaType MEDIA_TYPE_PNG = MediaType.get("image/png");
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jun 24 12:59:42 UTC 2019 - 2.2K bytes - Viewed (0) -
docs/en/docs/tutorial/index.md
</div> /// note When you install with `pip install "fastapi[standard]"` it comes with some default optional standard dependencies. If you don't want to have those optional dependencies, you can instead install `pip install fastapi`. /// ## Advanced User Guide There is also an **Advanced User Guide** that you can read later after this **Tutorial - User guide**.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 24 21:52:09 UTC 2024 - 6K bytes - Viewed (0) -
CONTRIBUTING.md
See the [security policy](https://golang.org/security) for details. The recommended way to file an issue is by running `go bug`. Otherwise, when filing an issue, make sure to answer these five questions: 1. What version of Go are you using (`go version`)? 2. What operating system and processor architecture are you using? 3. What did you do? 4. What did you expect to see? 5. What did you see instead?
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Mar 29 22:00:27 UTC 2023 - 1.3K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
And then, you could give that JWT token to a user (or bot), and they could use it to perform those actions (drive the car, or edit the blog post) without even needing to have an account, just with the JWT token your API generated for that. Using these ideas, JWT can be used for way more sophisticated scenarios. In those cases, several of those entities could have the same ID, let's say `foo` (a user `foo`, a car `foo`, and a blog post `foo`).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:45:10 UTC 2024 - 12.8K bytes - Viewed (0) -
docs/en/docs/advanced/testing-dependencies.md
In this case, you can override the dependency that calls that provider, and use a custom dependency that returns a mock user, only for your tests. ### Use the `app.dependency_overrides` attribute For these cases, your **FastAPI** application has an attribute `app.dependency_overrides`, it is a simple `dict`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/AsyncDns.kt
/** * Returns an error for the DNS query. */ fun onFailure( hostname: String, e: IOException, ) } /** * Class of DNS addresses, such that clients that treat these differently, such * as attempting IPv6 first, can make such decisions. */ @ExperimentalOkHttpApi enum class DnsClass(val type: Int) { IPV4(TYPE_A), IPV6(TYPE_AAAA), }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* href="https://docs.oracle.com/javase/8/docs/technotes/guides/language/assert.html">assertions</a>, * except that they are always enabled. These methods should be used instead of Java assertions * whenever there is a chance the check may fail "in real life". Example: * * <pre>{@code * Bill bill = remoteService.getLastUnpaidBill(); * * // In case bug 12345 happens again we'd rather just die
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 18.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
(v1, v2) -> { throw new IllegalArgumentException("Multiple values for key: " + v1 + ", " + v2); }), (accum, t) -> { /* * We assign these to variables before calling checkNotNull to work around a bug in our * nullness checker. */ K key = keyFunction.apply(t); V newValue = valueFunction.apply(t); accum.put(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 17.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
* message must mention two values that were associated with the duplicate key in two different * calls to Builder.put (though we don't really care *which* two values if there were more than * two). These considerations lead us to have a field of type DuplicateKey in the Builder, which * will remember the first duplicate key we encountered. All later calls to buildOrThrow() can
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 22.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheControlTest.kt
assertThat(cacheControl.minFreshSeconds).isEqualTo(3) assertThat(cacheControl.onlyIfCached).isTrue() assertThat(cacheControl.noTransform).isTrue() assertThat(cacheControl.immutable).isTrue() // These members are accessible to response headers only. assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(-1) assertThat(cacheControl.isPrivate).isFalse() assertThat(cacheControl.isPublic).isFalse()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 2.7K bytes - Viewed (0)