- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for invalidPort (0.28 sec)
-
okhttp/src/test/java/okhttp3/CallTest.kt
requestBuilder.url("ftp://hostname/path") }.also { expected -> assertThat(expected.message).isEqualTo("Expected URL scheme 'http' or 'https' but was 'ftp'") } } @Test fun invalidPort() { val requestBuilder = Request.Builder() assertFailsWith<IllegalArgumentException> { requestBuilder.url("http://localhost:65536/") }.also { expected ->
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
guava/src/com/google/common/net/HostAndPort.java
* @throws IllegalArgumentException if {@code host} contains a port number, or {@code port} is out * of range. */ public static HostAndPort fromParts(String host, int port) { checkArgument(isValidPort(port), "Port out of range: %s", port); HostAndPort parsedHost = fromString(host); checkArgument(!parsedHost.hasPort(), "Host has a port: %s", host);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 22:02:22 UTC 2024 - 11.3K bytes - Viewed (0) -
cmd/erasure-multipart.go
partInfosInQuorum[pidx] = ObjectPartInfo{ Number: partNumbers[pidx], Error: InvalidPart{ PartNumber: partNumbers[pidx], }.Error(), } } return partInfosInQuorum, nil } func objPartToPartErr(part ObjectPartInfo) error { if strings.Contains(part.Error, "file not found") { return InvalidPart{PartNumber: part.Number} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
{bucketNames[0], objectNames[0], uploadIDs[0], []CompletePart{{ETag: "abcz"}}, "", InvalidPart{}, false}, // Part number 0 doesn't exist, expecting InvalidPart error (Test number 12). {bucketNames[0], objectNames[0], uploadIDs[0], []CompletePart{{ETag: "abcd", PartNumber: 0}}, "", InvalidPart{}, false},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 88.8K bytes - Viewed (0) -
cmd/object-api-errors.go
UploadID string } func (e InvalidUploadID) Error() string { return "Invalid upload id " + e.UploadID } // InvalidPart One or more of the specified parts could not be found type InvalidPart struct { PartNumber int ExpETag string GotETag string } func (e InvalidPart) Error() string { return fmt.Sprintf("Specified part could not be found. PartNumber %d, Expected %s, got %s",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 09 02:05:14 UTC 2024 - 22.1K bytes - Viewed (0) -
cmd/utils.go
err = BucketPolicyNotFound{} case "NoSuchLifecycleConfiguration": err = BucketLifecycleNotFound{} case "InvalidBucketName": err = BucketNameInvalid{Bucket: bucket} case "InvalidPart": err = InvalidPart{} case "NoSuchBucket": err = BucketNotFound{Bucket: bucket} case "NoSuchKey": if object != "" { err = ObjectNotFound{Bucket: bucket, Object: object} } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 31.9K bytes - Viewed (0) -
cmd/api-errors.go
Code: "MethodNotAllowed", Description: "The specified method is not allowed against this resource.", HTTPStatusCode: http.StatusMethodNotAllowed, }, ErrInvalidPart: { Code: "InvalidPart", Description: "One or more of the specified parts could not be found. The part may not have been uploaded, or the specified entity tag may not match the part's entity tag.", HTTPStatusCode: http.StatusBadRequest, },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 92.1K bytes - Viewed (0) -
cmd/object-handlers_test.go
parts: inputParts[0].parts, accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, expectedContent: encodeResponse(getAPIErrorResponse(ctx, toAPIError(ctx, InvalidPart{}), getGetObjectURL("", bucketName, objectName), "", "")), expectedRespStatus: http.StatusBadRequest, }, // Test case - 2. // No parts specified in CompletePart{}.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 20:10:44 UTC 2024 - 163.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
fun serverShutdownInput() { testServerClosesOutput(ShutdownInputAtEnd) } @Test fun serverShutdownOutput() { testServerClosesOutput(ShutdownOutputAtEnd) } @Test fun invalidHost() { // Note that 1234.1.1.1 is an invalid host in a URI, but URL isn't as strict. client = client.newBuilder() .dns(FakeDns()) .build() assertFailsWith<UnknownHostException> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0)