Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for needsMimeEncoding (0.1 sec)

  1. cmd/api-headers.go

    			//
    			// For MinIO developers, decode S3 metadata with mime.WordDecoder, validate outputs,
    			// report encoding bugs to AWS, and use ASCII-only metadata to ensure reliable S3 API
    			// compatibility.
    			if needsMimeEncoding(v) {
    				// see https://github.com/golang/go/blob/release-branch.go1.24/src/net/mail/message.go#L325
    				if strings.ContainsAny(v, "\"#$%&'(),.:;<>@[]^`{|}~") {
    					v = mime.BEncoding.Encode("UTF-8", v)
    				} else {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top