- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for EncodingType (0.09 sec)
-
cmd/api-response.go
} data.Name = bucket data.Versions = versions data.EncodingType = encodingType data.Prefix = s3EncodeName(prefix, encodingType) data.KeyMarker = s3EncodeName(marker, encodingType) data.Delimiter = s3EncodeName(delimiter, encodingType) data.MaxKeys = maxKeys data.NextKeyMarker = s3EncodeName(resp.NextMarker, encodingType) data.NextVersionIDMarker = resp.NextVersionIDMarker
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 19:27:06 UTC 2024 - 33.4K bytes - Viewed (0) -
cmd/api-utils.go
j += 3 default: t[j] = s[i] j++ } } return string(t) } // s3EncodeName encodes string in response when encodingType is specified in AWS S3 requests. func s3EncodeName(name, encodingType string) string { if strings.ToLower(encodingType) == "url" { return s3URLEncode(name) } return name } // getHandlerName returns the name of the handler function. It takes the type
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 04 18:05:56 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/api-resources_test.go
} if maxKeys != testCase.maxKeys { t.Errorf("Test %d: Expected %d, got %d", i+1, testCase.maxKeys, maxKeys) } if encodingType != testCase.encodingType { t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.encodingType, encodingType) } } } // Test list objects resources V1. func TestListObjectsV1Resources(t *testing.T) { testCases := []struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 7.1K bytes - Viewed (0) -
cmd/api-resources.go
maxkeys = maxObjectList } prefix = values.Get("prefix") marker = values.Get("marker") delimiter = values.Get("delimiter") encodingType = values.Get("encoding-type") return } func getListBucketObjectVersionsArgs(values url.Values) (prefix, marker, delimiter string, maxkeys int, encodingType, versionIDMarker string, errCode APIErrorCode) { errCode = ErrNone if values.Get("max-keys") != "" { var err error
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 07 18:25:26 UTC 2023 - 4.3K bytes - Viewed (0) -
cmd/api-utils_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "fmt" "testing" ) func TestS3EncodeName(t *testing.T) { testCases := []struct { inputText, encodingType, expectedOutput string }{ {"a b", "", "a b"}, {"a b", "url", "a+b"}, {"p- ", "url", "p-+"}, {"p-%", "url", "p-%25"}, {"p/", "url", "p/"}, {"p/", "url", "p/"}, {"~user", "url", "%7Euser"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.5K bytes - Viewed (0) -
cmd/bucket-listobjects-handlers.go
// the request is rejected. func validateListObjectsArgs(prefix, marker, delimiter, encodingType string, maxKeys int) APIErrorCode { // Max keys cannot be negative. if maxKeys < 0 { return ErrInvalidMaxKeys } if encodingType != "" { // AWS S3 spec only supports 'url' encoding type if !strings.EqualFold(encodingType, "url") { return ErrInvalidEncodingMethod } } if !IsValidObjectPrefix(prefix) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 11.4K bytes - Viewed (0) -
cmd/test-utils_test.go
// return URL for listing objects in the bucket with V1 legacy API. func getListObjectsV1URL(endPoint, bucketName, prefix, maxKeys, encodingType string) string { queryValue := url.Values{} if maxKeys != "" { queryValue.Set("max-keys", maxKeys) } if encodingType != "" { queryValue.Set("encoding-type", encodingType) } return makeTestTargetURL(endPoint, bucketName, prefix, queryValue) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
cmd/object-api-datatypes_gen.go
if err != nil { err = msgp.WrapError(err, "CommonPrefixes", za0002) return } } case "EncodingType": z.EncodingType, bts, err = msgp.ReadStringBytes(bts) if err != nil { err = msgp.WrapError(err, "EncodingType") return } default: bts, err = msgp.Skip(bts) if err != nil { err = msgp.WrapError(err) return } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 70.1K bytes - Viewed (0) -
cmd/object-api-datatypes.go
Delimiter string // CommonPrefixes contains all (if there are any) keys between Prefix and the // next occurrence of the string specified by delimiter. CommonPrefixes []string EncodingType string // Not supported yet. } // TransitionedObject transitioned object tier and status. type TransitionedObject struct { Name string VersionID string Tier string FreeVersion bool
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 20.9K bytes - Viewed (0) -
cmd/object-multipart-handlers.go
writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL) return } uploadID, partNumberMarker, maxParts, encodingType, s3Error := getObjectResources(r.Form) if s3Error != ErrNone { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL) return } if partNumberMarker < 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Aug 31 18:25:48 UTC 2024 - 39.2K bytes - Viewed (0)