- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 1,553 for Examples (0.07 sec)
-
okhttp/src/test/java/okhttp3/RequestCommonTest.kt
import okhttp3.Headers.Companion.headersOf import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.RequestBody.Companion.toRequestBody class RequestCommonTest { @Test fun constructorNormal() { val url = "https://example.com/".toHttpUrl() val body = "hello".toRequestBody() val headers = headersOf("User-Agent", "RequestTest") val method = "PUT" val request = Request( url = url, headers = headers,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/self-referencing-classifier.xml
<modelVersion>4.0.0</modelVersion> <groupId>com.example.group</groupId> <artifactId>testvalidpom</artifactId> <version>0.0.1-SNAPSHOT</version> <description> This will test if the module validator recognized that this dependency with classifier is not the same as the module itself. </description> <dependencies> <dependency> <groupId>com.example.group</groupId> <artifactId>testvalidpom</artifactId>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/self-referencing.xml
<modelVersion>4.0.0</modelVersion> <groupId>com.example.group</groupId> <artifactId>testinvalidpom</artifactId> <version>0.0.1-SNAPSHOT</version> <description> This will test if the module validator recognized that this dependency is the same as the module itself. </description> <dependencies> <dependency> <groupId>com.example.group</groupId> <artifactId>testinvalidpom</artifactId>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
okhttp/src/test/resources/web-platform-test-toascii.json
"output": "ab--c.xn--zca" }, { "input": "ab--c.ß", "output": "ab--c.xn--zca" }, { "comment": "CheckJoiners is true", "input": "\u200D.example", "output": null }, { "input": "xn--1ug.example", "output": null }, { "comment": "CheckBidi is true", "input": "يa", "output": null }, { "input": "xn--a-yoc", "output": null
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 5.2K bytes - Viewed (0) -
docs/en/docs/advanced/using-request-directly.md
It would also mean that if you get data from the `Request` object directly (for example, read the body) it won't be validated, converted or documented (with OpenAPI, for the automatic API user interface) by FastAPI. Although any other parameter declared normally (for example, the body with a Pydantic model) would still be validated, converted, annotated, etc.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.3K bytes - Viewed (0) -
docs/en/docs/tutorial/request-form-models.md
Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example: ```console $ pip install python-multipart ``` /// /// note This is supported since FastAPI version `0.113.0`. 🤓 /// ## Pydantic Models for Forms
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.8K bytes - Viewed (0) -
docs/en/docs/how-to/conditional-openapi.md
If you want to secure your API, there are several better things you can do, for example: * Make sure you have well defined Pydantic models for your request bodies and responses. * Configure any required permissions and roles using dependencies. * Never store plaintext passwords, only password hashes.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 11:21:54 UTC 2024 - 2.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt
return result } /** A hostname pattern and certificate hash for Certificate Pinning. */ class Pin(pattern: String, pin: String) { /** A hostname like `example.com` or a pattern like `*.example.com` (canonical form). */ val pattern: String /** Either `sha1` or `sha256`. */ val hashAlgorithm: String /** The hash of the pinned certificate using [hashAlgorithm]. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.2K bytes - Viewed (0) -
docs/erasure/storage-class/README.md
redundancy or better drive space utilization. To get an idea of how various combinations of data and parity drives affect the storage usage, let’s take an example of a 100 MiB file stored on 16 drive MinIO deployment. If you use eight data and eight parity drives, the file space usage will be approximately twice, i.e. 100 MiB
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 15 23:04:20 UTC 2023 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/cache/RemovalListener.java
* shared resources. * * @param <K> the most general type of keys this listener can listen for; for example {@code Object} * if any key is acceptable * @param <V> the most general type of values this listener can listen for; for example {@code * Object} if any key is acceptable * @author Charles Fry * @since 10.0 */ @GwtCompatible @FunctionalInterface
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 2K bytes - Viewed (0)