Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RawQuery (0.1 sec)

  1. cmd/test-utils_test.go

    	signingKey := getSigningKey(secretAccessKey, date, region, serviceS3)
    	signature := getSignature(signingKey, stringToSign)
    
    	req.URL.RawQuery = query.Encode()
    
    	// Add signature header to RawQuery.
    	req.URL.RawQuery += "&X-Amz-Signature=" + url.QueryEscape(signature)
    
    	// Construct the final presigned URL.
    	return nil
    }
    
    // preSignV2 - presign the request in following style.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  2. cmd/sts-handlers.go

    		ctypeOk := wildcard.MatchSimple("application/x-www-form-urlencoded*", r.Header.Get(xhttp.ContentType))
    		authOk := wildcard.MatchSimple(signV4Algorithm+"*", r.Header.Get(xhttp.Authorization))
    		noQueries := len(r.URL.RawQuery) == 0
    		return ctypeOk && authOk && noQueries
    	}).HandlerFunc(httpTraceAll(sts.AssumeRole))
    
    	// Assume roles with JWT handler, handles both ClientGrants and WebIdentity.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  3. cmd/storage-rest-server.go

    	}
    
    	owner := claims.AccessKey == globalActiveCred.AccessKey || claims.Subject == globalActiveCred.AccessKey
    	if !owner {
    		return errAuthentication
    	}
    
    	if claims.Audience != r.URL.RawQuery {
    		return errAuthentication
    	}
    
    	requestTimeStr := r.Header.Get("X-Minio-Time")
    	requestTime, err := time.Parse(time.RFC3339, requestTimeStr)
    	if err != nil {
    		return errMalformedAuth
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    	if redirectURL != nil { // success_action_redirect is valid and set.
    		v := redirectURL.Query()
    		v.Add("bucket", objInfo.Bucket)
    		v.Add("key", objInfo.Name)
    		v.Add("etag", "\""+objInfo.ETag+"\"")
    		redirectURL.RawQuery = v.Encode()
    		writeRedirectSeeOther(w, redirectURL.String())
    		return
    	}
    
    	// Add checksum header.
    	if checksum != nil && checksum.Valid() {
    		hash.AddChecksumHeader(w, checksum.AsMap())
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top