Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for head (0.17 sec)

  1. cmd/object-api-interface.go

    	NoLock                              bool      // indicates to lower layers if the caller is expecting to hold locks.
    	ProxyRequest                        bool      // only set for GET/HEAD in active-active replication scenario
    	ProxyHeaderSet                      bool      // only set for GET/HEAD in active-active replication scenario
    	ReplicationRequest                  bool      // true only if replication request
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  2. cmd/object-handlers-common.go

    }
    
    // Validates the preconditions. Returns true if GET/HEAD operation should not proceed.
    // Preconditions supported are:
    //
    //	If-Modified-Since
    //	If-Unmodified-Since
    //	If-Match
    //	If-None-Match
    func checkPreconditions(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo, opts ObjectOptions) bool {
    	// Return false for methods other than GET and HEAD.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. internal/config/cache/help.go

    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         Endpoint,
    			Type:        "string",
    			Description: "remote cache endpoint for GET/HEAD object(s) metadata, data" + defaultHelpPostfix(Endpoint),
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         BlockSize,
    			Type:        "string",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 22 00:57:13 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  4. cmd/s3-zip-handlers.go

    			if size <= 0 || size > 100<<20 {
    				return nil, ObjectInfo{}, errors.New("zip directory too large")
    			}
    		} else {
    			return nil, ObjectInfo{}, err
    		}
    	}
    }
    
    // headObjectInArchiveFileHandler - HEAD Object in an archive file
    func (api objectAPIHandlers) headObjectInArchiveFileHandler(ctx context.Context, objectAPI ObjectLayer, bucket, object string, w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. internal/http/headers.go

    	MinIOSourceETag = "x-minio-source-etag"
    
    	// Writes expected write quorum
    	MinIOWriteQuorum = "x-minio-write-quorum"
    
    	// Reads expected read quorum
    	MinIOReadQuorum = "x-minio-read-quorum"
    
    	// Indicates if we are using default storage class and there was problem loading config
    	// if this header is set to "true"
    	MinIOStorageClassDefaults = "x-minio-storage-class-defaults"
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  6. cmd/object-handlers_test.go

    				// Read last byte of object
    				fmt.Sprintf("bytes=-%d", 1),
    				// Read all but first byte of object
    				"bytes=1-",
    				// Read first half of object
    				fmt.Sprintf("bytes=%d-%d", 0, objLen/2),
    				// Read last half of object
    				fmt.Sprintf("bytes=-%d", objLen/2),
    				// Read middle half of object
    				fmt.Sprintf("bytes=%d-%d", objLen/4, objLen*3/4),
    				// Read 100MiB of the object from the beginning
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  7. internal/config/cache/remote.go

    	if oi.CacheControl != "" {
    		w.Header().Set(xhttp.CacheControl, oi.CacheControl)
    	}
    
    	statusCode()
    }
    
    // CondCheck represents the conditional request made to the remote cache
    // for validation during GET/HEAD object requests.
    type CondCheck struct {
    	ObjectInfo
    	IfMatch           string     `json:"ifMatch,omitempty" msg:",omitempty"`
    	IfNoneMatch       string     `json:"ifNoneMatch,omitempty" msg:",omitempty"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    		t.Fatal(failTestStr(anonTestStr, fmt.Sprintf("Object API Nil Test expected to fail with %d, but failed with %d", accessDenied, rec.Code)))
    	}
    
    	// HEAD HTTTP request doesn't contain response body.
    	if anonReq.Method != http.MethodHead {
    		// read the response body.
    		var actualContent []byte
    		actualContent, err = io.ReadAll(rec.Body)
    		if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    		},
    	}
    
    	for i, testCase := range testCases {
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    		// construct HTTP request for HEAD bucket.
    		req, err := newTestSignedRequestV4(http.MethodHead, getHEADBucketURL("", testCase.bucketName), 0, nil, testCase.accessKey, testCase.secretKey, nil)
    		if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
  10. cmd/bucket-handlers.go

    			if readable && writable {
    				return "TRUE"
    			}
    			return "FALSE"
    		}(),
    	})
    
    	writeSuccessResponseXML(w, encodedSuccessResponse)
    }
    
    // HeadBucketHandler - HEAD Bucket
    // ----------
    // This operation is useful to determine if a bucket exists.
    // The operation returns a 200 OK if the bucket exists and you
    // have permission to access it. Otherwise, the operation might
    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)
Back to top