Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CanonicalURI (0.12 sec)

  1. cmd/test-utils_test.go

    	// Get canonical URI.
    	canonicalURI := s3utils.EncodePath(req.URL.Path)
    
    	// Get canonical request.
    	// canonicalRequest =
    	//  <HTTPMethod>\n
    	//  <CanonicalURI>\n
    	//  <CanonicalQueryString>\n
    	//  <CanonicalHeaders>\n
    	//  <SignedHeaders>\n
    	//  <HashedPayload>
    	//
    	canonicalRequest := strings.Join([]string{
    		req.Method,
    		canonicalURI,
    		req.URL.RawQuery,
    		canonicalHeaders,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. cmd/signature-v4.go

    	}
    	sort.Strings(headers)
    	return strings.Join(headers, ";")
    }
    
    // getCanonicalRequest generate a canonical request of style
    //
    // canonicalRequest =
    //
    //	<HTTPMethod>\n
    //	<CanonicalURI>\n
    //	<CanonicalQueryString>\n
    //	<CanonicalHeaders>\n
    //	<SignedHeaders>\n
    //	<HashedPayload>
    func getCanonicalRequest(extractedSignedHeaders http.Header, payload, queryStr, urlPath, method string) string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top