Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 193 for url (0.17 sec)

  1. cmd/bucket-handlers.go

    	successStatus := formValues.Get("success_action_status")
    	var redirectURL *url.URL
    	if successRedirect != "" {
    		redirectURL, err = url.Parse(successRedirect)
    		if err != nil {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMalformedPOSTRequest), r.URL)
    			return
    		}
    	}
    
    	// Verify policy signature.
    	cred, errCode := doesPolicySignatureMatch(formValues)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle-handlers.go

    		return
    	}
    
    	// Validate the received bucket policy document
    	if err = bucketLifecycle.Validate(); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Validate the transition storage ARNs
    	if err = validateTransitionTier(bucketLifecycle); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Create a map of updated set of rules in request
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 21 17:48:06 GMT 2023
    - 7K bytes
    - Viewed (0)
  3. cmd/storage-rest-client.go

    // and a healthcheck routine gets invoked that would reconnect.
    func (client *storageRESTClient) call(ctx context.Context, method string, values url.Values, body io.Reader, length int64) (io.ReadCloser, error) {
    	if values == nil {
    		values = make(url.Values)
    	}
    	values.Set(storageRESTDiskID, *client.diskID.Load())
    	respBody, err := client.restClient.Call(ctx, method, values, body, length)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  4. cmd/build-constants.go

    	// MinioOSARCH - OS and ARCH.
    	minioOSARCH = runtime.GOOS + "-" + runtime.GOARCH
    
    	// MinioReleaseBaseURL - release url without os and arch.
    	MinioReleaseBaseURL = "https://dl.min.io/server/minio/release/"
    
    	// MinioReleaseURL - release URL.
    	MinioReleaseURL = MinioReleaseBaseURL + minioOSARCH + SlashSeparator
    
    	// MinioStoreName - MinIO store name.
    	MinioStoreName = "MinIO"
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 12 00:54:37 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. internal/config/identity/plugin/config.go

    	logger.LogIf(ctx, "authN", err)
    }
    
    // Authentication Plugin config and env variables
    const (
    	URL        = "url"
    	AuthToken  = "auth_token"
    	RolePolicy = "role_policy"
    	RoleID     = "role_id"
    
    	EnvIdentityPluginURL        = "MINIO_IDENTITY_PLUGIN_URL"
    	EnvIdentityPluginAuthToken  = "MINIO_IDENTITY_PLUGIN_AUTH_TOKEN"
    	EnvIdentityPluginRolePolicy = "MINIO_IDENTITY_PLUGIN_ROLE_POLICY"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  6. cmd/dummy-handlers.go

    		return
    	}
    
    	// Allow getBucketCors if policy action is set, since this is a dummy call
    	// we are simply re-purposing the bucketPolicyAction.
    	if s3Error := checkRequestAuthType(ctx, r, policy.GetBucketPolicyAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  7. cmd/notification.go

    	}
    
    	return
    }
    
    // VerifyBinary - asks remote peers to verify the checksum
    func (sys *NotificationSys) VerifyBinary(ctx context.Context, u *url.URL, sha256Sum []byte, releaseInfo string, bin []byte) []NotificationPeerErr {
    	// FIXME: network calls made in this manner such as one goroutine per node,
    	// can easily eat into the internode bandwidth. This function would be mostly
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  8. cmd/bucket-listobjects-handlers.go

    	// Max keys cannot be negative.
    	if maxKeys < 0 {
    		return ErrInvalidMaxKeys
    	}
    
    	if encodingType != "" {
    		// AWS S3 spec only supports 'url' encoding type
    		if !strings.EqualFold(encodingType, "url") {
    			return ErrInvalidEncodingMethod
    		}
    	}
    
    	if !IsValidObjectPrefix(prefix) {
    		return ErrInvalidObjectName
    	}
    
    	if marker != "" && !HasPrefix(marker, prefix) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  9. internal/rest/client_test.go

    package rest
    
    import (
    	"errors"
    	"net"
    	"net/url"
    	"testing"
    )
    
    func TestNetworkError_Unwrap(t *testing.T) {
    	tests := []struct {
    		name   string
    		err    error
    		target interface{}
    		want   bool
    	}{
    		{
    			name:   "url.Error",
    			err:    &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")},
    			target: &url.Error{},
    			want:   true,
    		},
    		{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  10. cmd/object-lambda-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	target, err := globalLambdaTargetList.Lookup(r.Form.Get("lambdaArn"))
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	eventData, err := getLambdaEventData(bucket, object, cred, r)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Sep 15 04:58:17 GMT 2023
    - 10.2K bytes
    - Viewed (1)
Back to top