- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 5,596 for expect (0.05 seconds)
-
docs/en/docs/tutorial/request-forms.md
/// /// warning You can declare multiple `Form` parameters in a *path operation*, but you can't also declare `Body` fields that you expect to receive as JSON, as the request will have the body encoded using `application/x-www-form-urlencoded` instead of `application/json`. This is not a limitation of **FastAPI**, it's part of the HTTP protocol. ///
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.7K bytes - Click Count (0) -
internal/etag/etag.go
// http.Header.Set(...). Otherwise, some S3 clients will not // able to extract the ETag. func Set(etag ETag, h http.Header) { // Some (broken) S3 clients expect the ETag header to // literally "ETag" - not "Etag". Further, some clients // expect an ETag in double quotes. Therefore, we set the // ETag directly as map entry instead of using http.Header.Set h["ETag"] = []string{`"` + etag.String() + `"`} }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 13.2K bytes - Click Count (0) -
tests/test_get_model_definitions_formfeed_escape.py
"city": "Anytown", "state_province": "CA", }, } def test_openapi_schema(client: TestClient): """ Sanity check to ensure our app's openapi schema renders as we expect """ response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == snapshot( { "components": { "schemas": {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 5.8K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/tensorflow_issue_template.yaml
label: GPU model and memory description: If compiling from source - type: textarea id: what-happened attributes: label: Current behavior? description: Also tell us, what did you expect to happen? placeholder: Tell us what you see! validations: required: true - type: textarea id: code-to-reproduce attributes: label: Standalone code to reproduce the issueCreated: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Jun 28 18:25:42 GMT 2023 - 3.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
return expected; } }; AsyncCallable<String> asyncCallable = Callables.asAsyncCallable(callable, newDirectExecutorService()); ListenableFuture<String> future = asyncCallable.call(); assertSame(expected, future.get()); } @J2ktIncompatible @GwtIncompatible public void testAsAsyncCallable_exception() throws Exception {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 4.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMapValues.java
* flavors can read old data or data from the other flavor. However, we strongly discourage * relying on this, as we have made incompatible changes to serialized forms in the past and * expect to do so again, as discussed in https://github.com/google/guava#important-warnings. */ @SuppressWarnings("unused") private static final class SerializedForm<V> implements Serializable {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.5K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
when: repository.put('class', value) then: repository.find('class') == value repository.get('class') == value } def findReturnsNullForUnknownClass() { expect: repository.find('unknown') == null } def getFailsForUnknownClass() { given: repository.put('unkown', new TestDomainObject('unknown')) when:Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Apr 06 02:21:33 GMT 2024 - 3.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt
* * While [onReset] may occur at any time, the following callbacks are expected in order, * correlated by stream ID. * * * [onRequest] * * [onHeaders] (unless canceled) * * [onData] (optional sequence of data frames) * * As a stream ID is scoped to a single HTTP/2 connection, implementations which target multiple * connections should expect repetition of stream IDs. *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/TypeNameResolverTest.groovy
def resolvesUnqualifiedNameToDefaultPackagesAndClassesInGroovySource() { _ * classMetaData.innerClassNames >> [] _ * classMetaData.imports >> [] _ * classMetaData.groovy >> true expect: typeNameResolver.resolve('Set', classMetaData) == 'java.util.Set' typeNameResolver.resolve('File', classMetaData) == 'java.io.File'Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 6K bytes - Click Count (0) -
docs/en/docs/advanced/openapi-callbacks.md
In this case, you could want to document how that external API *should* look like. What *path operation* it should have, what body it should expect, what response it should return, etc. ## An app with callbacks { #an-app-with-callbacks } Let's see all this with an example. Imagine you develop an app that allows creating invoices.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 8K bytes - Click Count (0)