- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 7,605 for expect (0.05 sec)
-
docs/en/docs/tutorial/request-forms-and-files.md
And you can declare some of the files as `bytes` and some as `UploadFile`. /// warning You can declare multiple `File` and `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 `multipart/form-data` instead of `application/json`. This is not a limitation of **FastAPI**, it's part of the HTTP protocol. /// ## Recap
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.1K bytes - Viewed (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() + `"`} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 21:09:36 UTC 2024 - 13.3K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/03-gopls.yml
- type: textarea id: actual-behavior attributes: label: "What did you see happen?" validations: required: true - type: textarea id: expected-behavior attributes: label: "What did you expect to see?" validations: required: true - type: textarea id: editor-and-settings attributes: label: "Editor and settings"
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri May 24 17:09:04 UTC 2024 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java
/** * Test method for * {@link org.codelibs.core.convert.BinaryConversionUtil#toBinary(java.lang.Object)} * . */ @Test public void testToBinaryException() { exception.expect(ClIllegalArgumentException.class); exception.expectMessage(is("[ECL0009]argument[o] is illegal. because class java.lang.Object.")); BinaryConversionUtil.toBinary(new Object()); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
func (p *Parser) asmData(operands [][]lex.Token) { if len(operands) != 2 { p.errorf("expect two operands for DATA") return } // Operand 0 has the general form foo<>+0x04(SB)/4. op := operands[0] n := len(op) if n < 3 || op[n-2].ScanToken != '/' || op[n-1].ScanToken != scanner.Int { p.errorf("expect /size for DATA argument") return } szop := op[n-1].String() sz, err := strconv.Atoi(szop)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 21 14:11:44 UTC 2024 - 25.5K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/04-vuln.yml
- type: textarea id: actual-behavior attributes: label: "What did you see happen?" validations: required: true - type: textarea id: expected-behavior attributes: label: "What did you expect to see?" validations:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 04 23:31:17 UTC 2024 - 1.9K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
o.addFlags(flags) g.Expect(flags.Parse([]string{ "--name", "valid-name", })).Should(Succeed()) g.Expect(o.prepare(ctx)).Should(Succeed()) o = RemoteSecretOptions{} flags = pflag.NewFlagSet("test", pflag.ContinueOnError) o.addFlags(flags) g.Expect(flags.Parse([]string{ "--name", "?-invalid-name", })).Should(Succeed()) g.Expect(o.prepare(ctx)).Should(Not(Succeed()))
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 20.7K bytes - Viewed (0) -
cmd/erasure-metadata-utils_test.go
if !reflect.DeepEqual(testCase.hashedOrder, hashedOrder) { t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.hashedOrder, hashedOrder) } } // Tests hashing order to fail for when order is '-1'. if hashedOrder := hashOrder("This will fail", -1); hashedOrder != nil { t.Errorf("Test: Expect \"nil\" but failed \"%#v\"", hashedOrder) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.4K bytes - Viewed (0) -
CONTRIBUTING.md
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? For change proposals, see [Proposing Changes To Go](https://go.dev/s/proposal-process). ## Contributing code
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Mar 29 22:00:27 UTC 2023 - 1.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.9K bytes - Viewed (0)