Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for del (0.12 sec)

  1. cmd/object-handlers.go

    	if opts.Versioned {
    		w.Header().Set(xhttp.AmzVersionID, objInfo.VersionID)
    	}
    
    	lastModified := objInfo.ModTime.UTC().Format(http.TimeFormat)
    	w.Header().Set(xhttp.LastModified, lastModified)
    	w.Header().Del(xhttp.ContentType)
    
    	if _, ok := opts.ObjectAttributes[xhttp.Checksum]; ok {
    		chkSums := objInfo.decryptChecksums(0)
    		// AWS does not appear to append part number on this API call.
    		switch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils_test.go

    	if errCode != ErrUnsignedHeaders {
    		t.Fatalf("Expected the APIErrorCode to be %d, but got %d", ErrUnsignedHeaders, errCode)
    	}
    
    	// Delete extra metadata from header to don't affect other test
    	inputHeader.Del("X-Amz-Meta-Clone")
    	// calling the function being tested.
    	errCode = checkMetaHeaders(signedHeadersMap, r)
    	if errCode != ErrNone {
    		t.Fatalf("Expected the APIErrorCode to be %d, but got %d", ErrNone, errCode)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    	success = true
    
    	// Make sure we remove any existing headers before
    	// proxying the request to another node.
    	for k := range w.Header() {
    		w.Header().Del(k)
    	}
    
    	f := handlers.NewForwarder(&handlers.Forwarder{
    		PassHost:     true,
    		RoundTripper: ep.Transport,
    		ErrorHandler: func(w http.ResponseWriter, r *http.Request, err error) {
    			success = false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  4. cmd/storage-datatypes.go

    	// Indicates if the version is the latest
    	IsLatest bool `msg:"is"`
    
    	// Deleted is set when this FileInfo represents
    	// a deleted marker for a versioned bucket.
    	Deleted bool `msg:"del"`
    
    	// TransitionStatus is set to Pending/Complete for transitioned
    	// entries based on state of transition
    	TransitionStatus string `msg:"ts"`
    	// TransitionedObjName is the object name on the remote tier corresponding
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. cmd/admin-router.go

    			adminRouter.Methods(http.MethodPut).Path(adminVersion + "/set-config-kv").HandlerFunc(adminMiddleware(adminAPI.SetConfigKVHandler))
    			adminRouter.Methods(http.MethodDelete).Path(adminVersion + "/del-config-kv").HandlerFunc(adminMiddleware(adminAPI.DelConfigKVHandler))
    		}
    
    		// Enable config help in all modes.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. internal/store/queuestore.go

    	}
    
    	if err = json.Unmarshal(eventData, &item); err != nil {
    		return item, err
    	}
    
    	return item, nil
    }
    
    // Del - Deletes an entry from the store.
    func (store *QueueStore[_]) Del(key string) error {
    	store.Lock()
    	defer store.Unlock()
    	return store.del(key)
    }
    
    // DelList - Deletes a list of entries from the store.
    // Returns an error even if one key fails to be deleted.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. internal/crypto/header.go

    // It has the same semantics as RemoveSensitiveEntries.
    func RemoveSensitiveHeaders(h http.Header) {
    	h.Del(xhttp.AmzServerSideEncryptionCustomerKey)
    	h.Del(xhttp.AmzServerSideEncryptionCopyCustomerKey)
    	h.Del(xhttp.AmzMetaUnencryptedContentLength)
    	h.Del(xhttp.AmzMetaUnencryptedContentMD5)
    }
    
    // SSECopy represents AWS SSE-C for copy requests. It provides
    // functionality to handle SSE-C copy requests.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    	}
    
    	// Anonymous request return early.
    	if accessKey == "" || secretKey == "" {
    		return req, nil
    	}
    
    	if signer == signerV2 {
    		err = signRequestV2(req, accessKey, secretKey)
    		req.Header.Del("x-amz-content-sha256")
    	} else {
    		req.Header.Set("x-amz-content-sha256", "92b165232fbd011da355eca0b033db22b934ba9af0145a437a832d27310b89f9")
    		err = signRequestV4(req, accessKey, secretKey)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom.go

    					expired++
    					decommissioned++
    					stopFn(errors.New("ILM expired object/version will be skipped"))
    					continue
    				}
    
    				// any object with only single DEL marker we don't need
    				// to decommission, just skip it, this also includes
    				// any other versions that have already expired.
    				remainingVersions := len(fivs.Versions) - expired
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  10. cmd/s3-zip-handlers.go

    	defer rc.Close()
    
    	if err = setObjectHeaders(w, fileObjInfo, nil, opts); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	// s3zip does not allow ranges
    	w.Header().Del(xhttp.AcceptRanges)
    
    	setHeadGetRespHeaders(w, r.Form)
    
    	httpWriter := xioutil.WriteOnClose(w)
    
    	// Write object content to response body
    	if _, err = xioutil.Copy(httpWriter, rc); err != nil {
    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)
Back to top