- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 6,539 for xhttp (0.03 seconds)
-
cmd/auth-handler.go
func isRequestSignatureV4(r *http.Request) bool { return strings.HasPrefix(r.Header.Get(xhttp.Authorization), signV4Algorithm) } // Verify if request has AWS Signature Version '2'. func isRequestSignatureV2(r *http.Request) bool { return (!strings.HasPrefix(r.Header.Get(xhttp.Authorization), signV4Algorithm) && strings.HasPrefix(r.Header.Get(xhttp.Authorization), signV2Algorithm)) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
internal/crypto/sse-kms.go
func (ssekms) String() string { return "SSE-KMS" } // IsRequested returns true if the HTTP headers contains // at least one SSE-KMS header. func (ssekms) IsRequested(h http.Header) bool { if _, ok := h[xhttp.AmzServerSideEncryptionKmsID]; ok { return true } if _, ok := h[xhttp.AmzServerSideEncryptionKmsContext]; ok { return true } if _, ok := h[xhttp.AmzServerSideEncryption]; ok {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 8.5K bytes - Click Count (0) -
internal/bucket/object/lock/lock_test.go
{ header: http.Header{ xhttp.AmzObjectLockRetainUntilDate: []string{"2017-01-02T15:04:05Z"}, xhttp.AmzObjectLockMode: []string{"governance"}, }, expectedErr: ErrPastObjectLockRetainDate, }, { header: http.Header{ xhttp.AmzObjectLockMode: []string{"governance"}, xhttp.AmzObjectLockRetainUntilDate: []string{"2017-01-02T15:04:05Z"}, },Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.4K bytes - Click Count (0) -
internal/config/subnet/subnet.go
} writer.Close() r, e := http.NewRequest(http.MethodPost, reqURL, &body) if e != nil { return "", e } r.Header.Add("Content-Type", writer.FormDataContentType()) return c.submitPost(r) } func (c Config) submitPost(r *http.Request) (string, error) { configLock.RLock() r.Header.Set(xhttp.SubnetAPIKey, c.APIKey) configLock.RUnlock() r.Header.Set(xhttp.MinioDeploymentID, xhttp.GlobalDeploymentID)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.9K bytes - Click Count (0) -
cmd/grid.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "crypto/tls" "sync/atomic" "github.com/minio/minio/internal/crypto" "github.com/minio/minio/internal/grid" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/rest" ) // globalGrid is the global grid manager.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 3.7K bytes - Click Count (0) -
internal/logger/audit.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package logger import ( "context" "fmt" "net/http" "strconv" "time" "github.com/minio/madmin-go/v3/logger/audit" internalAudit "github.com/minio/minio/internal/logger/message/audit" "github.com/minio/minio/internal/mcontext" xhttp "github.com/minio/minio/internal/http" )
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.6K bytes - Click Count (0) -
internal/logger/message/audit/entry.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package audit import ( "net/http" "strings" "time" "github.com/minio/madmin-go/v3/logger/audit" "github.com/minio/minio/internal/handlers" xhttp "github.com/minio/minio/internal/http" ) // Version - represents the current version of audit log structure. const Version = "1"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.2K bytes - Click Count (0) -
internal/mcontext/ctxt.go
const ContextTraceKey = ContextTraceType("ctx-trace-info") // TraceCtxt holds related tracing data of a http request. type TraceCtxt struct { RequestRecorder *xhttp.RequestRecorder ResponseRecorder *xhttp.ResponseRecorder FuncName string AmzReqID string
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Dec 06 17:27:26 GMT 2022 - 1.3K bytes - Click Count (0) -
cmd/prepare-storage.go
defer cancel() req, err := http.NewRequestWithContext(ctx, http.MethodGet, serverURL.String(), nil) if err != nil { return err } // Indicate that the liveness check for a peer call req.Header.Set(xhttp.MinIOPeerCall, "true") resp, err := httpClient.Do(req) if err != nil { return err } xhttp.DrainBody(resp.Body) return nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 11.1K bytes - Click Count (1) -
internal/config/dns/operator_dns.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package dns import ( "context" "crypto/tls" "crypto/x509" "errors" "fmt" "io" "net" "net/http" "net/url" "strconv" "strings" "time" "github.com/golang-jwt/jwt/v4" "github.com/minio/minio/internal/config" xhttp "github.com/minio/minio/internal/http" ) var (
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Nov 11 14:51:43 GMT 2024 - 6.6K bytes - Click Count (0)