Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 179 for headers (0.18 sec)

  1. internal/crypto/sse-c.go

    // String returns the SSE domain as string. For SSE-C the
    // domain is "SSE-C".
    func (ssec) String() string { return "SSE-C" }
    
    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-C header. SSE-C copy headers are ignored.
    func (ssec) IsRequested(h http.Header) bool {
    	if _, ok := h[xhttp.AmzServerSideEncryptionCustomerAlgorithm]; ok {
    		return true
    	}
    	if _, ok := h[xhttp.AmzServerSideEncryptionCustomerKey]; ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. cmd/generic-handlers.go

    			// Make sure we remove any existing headers before
    			// proxying the request to another node.
    			for k := range w.Header() {
    				w.Header().Del(k)
    			}
    			globalForwarder.ServeHTTP(w, r)
    			return
    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    // addCustomHeadersMiddleware adds various HTTP(S) response headers.
    // Security Headers enable various security protections behaviors in the client's browser.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    		}
    		if err != nil {
    			return err
    		}
    
    		cHeader := http.Header{}
    		cHeader.Add(xhttp.MinIOSourceReplicationRequest, "true")
    		popts := minio.PutObjectPartOptions{
    			SSE:          opts.ServerSideEncryption,
    			CustomHeader: cHeader,
    		}
    
    		if crypto.SSEC.IsEncrypted(objInfo.UserDefined) {
    			objectSize += partInfo.Size
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. internal/bucket/object/lock/lock.go

    // IsObjectLockGovernanceBypassSet returns true if object lock governance bypass header is set.
    func IsObjectLockGovernanceBypassSet(h http.Header) bool {
    	return strings.EqualFold(h.Get(AmzObjectLockBypassRetGovernance), "true")
    }
    
    // IsObjectLockRequested returns true if legal hold or object lock retention headers are requested.
    func IsObjectLockRequested(h http.Header) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  5. cmd/s3-zip-handlers.go

    		ModTime: zipObjInfo.ModTime,
    	}
    
    	// Set standard object headers.
    	if err = setObjectHeaders(w, objInfo, nil, opts); err != nil {
    		writeErrorResponseHeadersOnly(w, toAPIError(ctx, err))
    		return
    	}
    
    	// s3zip does not allow ranges.
    	w.Header().Del(xhttp.AcceptRanges)
    
    	// Set any additional requested response headers.
    	setHeadGetRespHeaders(w, r.Form)
    
    	// Successful response.
    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)
  6. cmd/object-api-errors.go

    func (e NotImplemented) Error() string {
    	return e.Message
    }
    
    // UnsupportedMetadata - unsupported metadata
    type UnsupportedMetadata struct{}
    
    func (e UnsupportedMetadata) Error() string {
    	return "Unsupported headers in Metadata"
    }
    
    // isErrBucketNotFound - Check if error type is BucketNotFound.
    func isErrBucketNotFound(err error) bool {
    	var bkNotFound BucketNotFound
    	return errors.As(err, &bkNotFound)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. internal/etag/etag.go

    }
    
    // Set adds the ETag to the HTTP headers. It overwrites any
    // existing ETag entry.
    //
    // Due to legacy S3 clients, that make incorrect assumptions
    // about HTTP headers, Set should be used instead of
    // http.Header.Set(...). Otherwise, some S3 clients will not
    // able to extract the ETag.
    func Set(etag ETag, h http.Header) {
    	// Some (broken) S3 clients expect the ETag header to
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/config-current.go

    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         config.BrowserSubSys,
    			Description: "manage Browser HTTP specific features, such as Security headers, etc.",
    			Optional:    true,
    		},
    	}
    
    	if globalIsErasure {
    		helpSubSys = append(helpSubSys, config.HelpKV{
    			Key:         config.StorageClassSubSys,
    			Description: "define object level redundancy",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	req, _ := http.NewRequest(http.MethodOptions, s.endPoint, nil)
    	req.Header.Set("Origin", "http://foobar.com")
    	res, err := s.client.Do(req)
    	if err != nil {
    		c.Fatal(err)
    	}
    
    	for k := range expectedMap {
    		if v, ok := res.Header[k]; !ok {
    			c.Errorf("Expected key %s missing from %v", k, res.Header)
    		} else {
    			expectedSet := set.CreateStringSet(expectedMap[k]...)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  10. cmd/routers.go

    var globalMiddlewares = []mux.MiddlewareFunc{
    	// set x-amz-request-id header and others
    	addCustomHeadersMiddleware,
    	// The generic tracer needs to be the first middleware to catch all requests
    	// returned early by any other middleware (but after the middleware that
    	// sets the amz request id).
    	httpTracerMiddleware,
    	// Auth middleware verifies incoming authorization headers and routes them
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 3.6K bytes
    - Viewed (1)
Back to top