Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/object-lambda-handlers.go

    		return levent.Event{}, err
    	}
    
    	reqParams := url.Values{}
    	if partNumberStr := r.Form.Get("partNumber"); partNumberStr != "" {
    		reqParams.Set("partNumber", partNumberStr)
    	}
    	for k := range supportedHeadGetReqParams {
    		if v := r.Form.Get(k); v != "" {
    			reqParams.Set(k, v)
    		}
    	}
    
    	extraHeaders := http.Header{}
    	u, err := clnt.PresignHeader(r.Context(), http.MethodGet, bucket, object, duration, reqParams, extraHeaders)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/s3select"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // supportedHeadGetReqParams - supported request parameters for GET and HEAD presigned request.
    var supportedHeadGetReqParams = map[string]string{
    	"response-expires":             xhttp.Expires,
    	"response-content-type":        xhttp.ContentType,
    	"response-cache-control":       xhttp.CacheControl,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top