Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for url (0.15 sec)

  1. cmd/object-handlers_test.go

    			copySourceHeader:   url.QueryEscape(SlashSeparator + bucketName + SlashSeparator + objectName),
    			invalidPartNumber:  true,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 13.
    		// maximum part number.
    		{
    			bucketName:         bucketName,
    			uploadID:           uploadID,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Get request range.
    	rangeHeader := r.Header.Get(xhttp.Range)
    	if rangeHeader != "" {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrUnsupportedRangeHeader), r.URL)
    		return
    	}
    
    	if r.ContentLength <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEmptyRequestBody), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	buckets, err := objAPI.ListBuckets(ctx, BucketOptions{})
    	if err != nil {
    		return err
    	}
    
    	for _, bucketInfo := range buckets {
    		bucket := bucketInfo.Name
    		ep, _ := url.Parse(peer.Endpoint)
    		prevEp, _ := url.Parse(prevInfo.Endpoint)
    		targets, err := globalBucketTargetSys.ListBucketTargets(ctx, bucket)
    		if err != nil {
    			continue // site healing will take care of configuring new targets
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  4. cmd/bucket-replication.go

    // local cluster deployment id. This is to prevent replication to self, especially in case of a loadbalancer
    // in front of MinIO.
    func checkRemoteEndpoint(ctx context.Context, epURL *url.URL) error {
    	reqURL := &url.URL{
    		Scheme: epURL.Scheme,
    		Host:   epURL.Host,
    		Path:   healthCheckPathPrefix + healthCheckReadinessPath,
    	}
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodGet, reqURL.String(), nil)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. cmd/server_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/xml"
    	"fmt"
    	"io"
    	"math/rand"
    	"net/http"
    	"net/url"
    	"reflect"
    	"regexp"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio-go/v7/pkg/set"
    	xhttp "github.com/minio/minio/internal/http"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cmd/metrics-v2.go

    			tc.ResponseRecorder.LogErrBody = true
    		}
    
    		mfs, err := gatherers.Gather()
    		if err != nil && len(mfs) == 0 {
    			writeErrorResponseJSON(r.Context(), w, toAdminAPIErr(r.Context(), err), r.URL)
    			return
    		}
    
    		contentType := expfmt.Negotiate(r.Header)
    		w.Header().Set("Content-Type", string(contentType))
    
    		enc := expfmt.NewEncoder(w, contentType)
    		for _, mf := range mfs {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
Back to top