Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for exceptions (0.26 sec)

  1. cmd/api-utils.go

    		return false
    	}
    
    	switch c {
    	case '-', '_', '.', '/', '*':
    		return false
    	}
    	return true
    }
    
    // s3URLEncode is based on Golang's url.QueryEscape() code,
    // while considering some S3 exceptions:
    //   - Avoid encoding '/' and '*'
    //   - Force encoding of '~'
    func s3URLEncode(s string) string {
    	spaceCount, hexCount := 0, 0
    	for i := 0; i < len(s); i++ {
    		c := s[i]
    		if shouldEscape(c) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. internal/etag/etag.go

    // used to e.g. quickly compare objects or check whether
    // the content of an object has changed.
    //
    // In general, an S3 ETag is an MD5 checksum of the object
    // content. However, there are many exceptions to this rule.
    //
    // # Single-part Upload
    //
    // In case of a basic single-part PUT operation - without server
    // side encryption or object compression - the ETag of an object
    // is its content MD5.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top