Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for signFields (0.06 sec)

  1. cmd/signature-v4-parser.go

    func parseSignature(signElement string) (string, APIErrorCode) {
    	signFields := strings.Split(strings.TrimSpace(signElement), "=")
    	if len(signFields) != 2 {
    		return "", ErrMissingFields
    	}
    	if signFields[0] != "Signature" {
    		return "", ErrMissingSignTag
    	}
    	if signFields[1] == "" {
    		return "", ErrMissingFields
    	}
    	signature := signFields[1]
    	return signature, ErrNone
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top