Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for url (0.15 sec)

  1. cmd/s3-zip-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL)
    		return
    	}
    
    	zipPath, object, err := splitZipExtensionPath(object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	opts, err := getOpts(ctx, r, bucket, zipPath)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  3. cmd/object-handlers-common.go

    			return true
    		}
    	}
    
    	etagMatch := opts.PreserveETag != "" && isETagEqual(objInfo.ETag, opts.PreserveETag)
    	vidMatch := opts.VersionID != "" && opts.VersionID == objInfo.VersionID
    	if etagMatch && vidMatch {
    		writeHeaders()
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPreconditionFailed), r.URL)
    		return true
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. cmd/endpoint.go

    		if isHostIP(arg) {
    			return ep, fmt.Errorf("invalid URL endpoint format: missing scheme http or https")
    		}
    		absArg, err := filepath.Abs(arg)
    		if err != nil {
    			return Endpoint{}, fmt.Errorf("absolute path failed %s", err)
    		}
    		u = &url.URL{Path: path.Clean(absArg)}
    		isLocal = true
    	}
    
    	return Endpoint{
    		URL:     u,
    		IsLocal: isLocal,
    		PoolIdx: -1,
    		SetIdx:  -1,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	data, err := json.Marshal(allCredentials)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	econfigData, err := madmin.EncryptData(password, data)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  6. cmd/admin-handlers-idp-ldap.go

    		return
    	}
    
    	var par madmin.PolicyAssociationReq
    	err = json.Unmarshal(reqBytes, &par)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    
    	if err := par.IsValid(); err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), r.URL)
    		return
    	}
    
    	// Call IAM subsystem
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. cmd/utils.go

    	// }
    
    	// Fill the login form with our test creds:
    	// fmt.Printf("login form url: %s\n", lastReq.URL.String())
    	formData := url.Values{}
    	formData.Set("login", username)
    	formData.Set("password", password)
    	req, err = http.NewRequestWithContext(ctx, http.MethodPost, lastReq.URL.String(), strings.NewReader(formData.Encode()))
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. cmd/signature-v4.go

    // types.
    // - Based on Authorization header.
    // - Based on Query parameters.
    // - Based on Form POST policy.
    package cmd
    
    import (
    	"bytes"
    	"crypto/subtle"
    	"encoding/hex"
    	"net/http"
    	"net/url"
    	"sort"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/minio-go/v7/pkg/s3utils"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/hash/sha256"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. cmd/admin-handlers-site-replication.go

    		return
    	}
    	status, err := globalSiteReplicationSys.RemovePeerCluster(ctx, objectAPI, rreq)
    	if err != nil {
    		adminLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	body, err := json.Marshal(status)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, errInvalidArgument), r.URL)
    		return
    	}
    
    	req := &BatchJobRequest{}
    	if err := req.load(ctx, objectAPI, pathJoin(batchJobPrefix, jobID)); err != nil {
    		if !errors.Is(err, errNoSuchJob) {
    			batchLogIf(ctx, err)
    		}
    
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	buf, err := yaml.Marshal(req)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top