Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 298 for headers (0.21 sec)

  1. internal/http/headers.go

    	// Header indicates that this request is a replication request to create a REPLICA
    	MinIOSourceReplicationRequest = "X-Minio-Source-Replication-Request"
    	// Header checks replication permissions without actually completing replication
    	MinIOSourceReplicationCheck = "X-Minio-Source-Replication-Check"
    	// Header indicates replication reset status.
    	MinIOReplicationResetStatus = "X-Minio-Replication-Reset-Status"
    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)
  2. cmd/api-headers.go

    func setEventStreamHeaders(w http.ResponseWriter) {
    	w.Header().Set(xhttp.ContentType, "text/event-stream")
    	w.Header().Set(xhttp.CacheControl, "no-cache") // nginx to turn off buffering
    	w.Header().Set("X-Accel-Buffering", "no")      // nginx to turn off buffering
    }
    
    // Write http common headers
    func setCommonHeaders(w http.ResponseWriter) {
    	// Set the "Server" http header.
    	w.Header().Set(xhttp.ServerInfo, MinioStoreName)
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.9K bytes
    - Viewed (1)
  3. internal/http/lambda-headers.go

    	AmzFwdHeaderChecksumSha1       = "x-amz-fwd-header-x-amz-checksum-sha1"
    	AmzFwdHeaderChecksumSha256     = "x-amz-fwd-header-x-amz-checksum-sha256"
    	AmzFwdHeaderDeleteMarker       = "x-amz-fwd-header-x-amz-delete-marker"
    	AmzFwdHeaderETag               = "x-amz-fwd-header-ETag"
    	AmzFwdHeaderExpires            = "x-amz-fwd-header-Expires"
    	AmzFwdHeaderExpiration         = "x-amz-fwd-header-x-amz-expiration"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. cmd/api-headers_test.go

    Harshavardhana <******@****.***> 1641143706 -0800
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  5. cmd/signature-v4.go

    )
    
    // getCanonicalHeaders generate a list of request headers with their values
    func getCanonicalHeaders(signedHeaders http.Header) string {
    	var headers []string
    	vals := make(http.Header)
    	for k, vv := range signedHeaders {
    		k = strings.ToLower(k)
    		headers = append(headers, k)
    		vals[k] = vv
    	}
    	sort.Strings(headers)
    
    	var buf bytes.Buffer
    	for _, k := range headers {
    		buf.WriteString(k)
    		buf.WriteByte(':')
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  6. cmd/object-handlers-common.go

    	// and don't process the If-Modified-Since header.
    	if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) {
    		return false
    	}
    
    	// Headers to be set of object content is not going to be written to the client.
    	writeHeaders := func() {
    		// set common headers
    		setCommonHeaders(w)
    
    		// set object-related metadata headers
    		w.Header().Set(xhttp.LastModified, objInfo.ModTime.UTC().Format(http.TimeFormat))
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. .github/workflows/mint/nginx.conf

                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header X-NginX-Proxy true;
    
                # This is necessary to pass the correct IP to be hashed
                real_ip_header X-Real-IP;
    
                proxy_connect_timeout 300;
                
                # To support websocket
                proxy_http_version 1.1;
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 31 21:38:10 GMT 2023
    - 3K bytes
    - Viewed (0)
  8. internal/config/lambda/event/event.go

    type Identity struct {
    	Type        string `json:"type"`
    	PrincipalID string `json:"principalId"`
    	AccessKeyID string `json:"accessKeyId"`
    }
    
    // UserRequest user request headers
    type UserRequest struct {
    	URL     string      `json:"url"`
    	Headers http.Header `json:"headers"`
    }
    
    // GetObjectContext provides the necessary details to perform
    // download of the object, and return back the processed response
    // to the server.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. cmd/object-api-options.go

    	}
    	if v, ok := header[xhttp.MinIOSourceProxyRequest]; ok {
    		opts.ProxyHeaderSet = true
    		opts.ProxyRequest = strings.Join(v, "") == "true"
    	}
    	if _, ok := header[xhttp.MinIOSourceReplicationRequest]; ok {
    		opts.ReplicationRequest = true
    	}
    	opts.Speedtest = header.Get(globalObjectPerfUserMetadata) != ""
    	return
    }
    
    // get ObjectOptions for GET calls from encryption headers
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
Back to top