- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 6,772 for xhttp (0.06 sec)
-
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)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 28 04:44:00 UTC 2024 - 7K bytes - Viewed (0) -
cmd/object-handlers-common_test.go
recorder := httptest.NewRecorder() request := httptest.NewRequest(http.MethodHead, "/bucket/a", bytes.NewReader([]byte{})) request.Header.Set(xhttp.IfNoneMatch, tc.ifNoneMatch) request.Header.Set(xhttp.IfModifiedSince, tc.ifModifiedSince) request.Header.Set(xhttp.IfMatch, tc.ifMatch) request.Header.Set(xhttp.IfUnmodifiedSince, tc.ifUnmodifiedSince)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 06:33:53 UTC 2024 - 5.3K bytes - Viewed (0) -
cmd/bucket-policy.go
} } for _, objLock := range []string{ xhttp.AmzObjectLockMode, xhttp.AmzObjectLockLegalHold, xhttp.AmzObjectLockRetainUntilDate, } { if values, ok := cloneHeader[objLock]; ok { args[strings.TrimPrefix(objLock, "X-Amz-")] = values } cloneHeader.Del(objLock) } for key, values := range cloneHeader { if strings.EqualFold(key, xhttp.AmzObjectTagging) { continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8K bytes - Viewed (0) -
cmd/healthcheck-handler.go
writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone) return nil } if !globalBucketMetadataSys.Initialized() { w.Header().Set(xhttp.MinIOServerStatus, "bucket-metadata-offline") writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone) return nil } if !globalIAMSys.Initialized() { w.Header().Set(xhttp.MinIOServerStatus, "iam-offline")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 26 07:44:34 UTC 2024 - 6.9K bytes - Viewed (0) -
internal/crypto/metadata.go
delete(metadata, xhttp.AmzServerSideEncryption) delete(metadata, xhttp.AmzServerSideEncryptionKmsID) delete(metadata, xhttp.AmzServerSideEncryptionKmsContext) delete(metadata, xhttp.AmzServerSideEncryptionCustomerAlgorithm) delete(metadata, xhttp.AmzServerSideEncryptionCustomerKey) delete(metadata, xhttp.AmzServerSideEncryptionCustomerKeyMD5) delete(metadata, xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 17:40:33 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/signature-v4-parser.go
// verifies if any of the necessary query params are missing in the presigned request. func doesV4PresignParamsExist(query url.Values) APIErrorCode { v4PresignQueryParams := []string{xhttp.AmzAlgorithm, xhttp.AmzCredential, xhttp.AmzSignature, xhttp.AmzDate, xhttp.AmzSignedHeaders, xhttp.AmzExpires} for _, v4PresignQueryParam := range v4PresignQueryParams { if _, ok := query[v4PresignQueryParam]; !ok { return ErrInvalidQueryParams } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
internal/crypto/sse-c.go
// on success. SSE-C copy headers are ignored. func (ssec) ParseHTTP(h http.Header) (key [32]byte, err error) { if h.Get(xhttp.AmzServerSideEncryptionCustomerAlgorithm) != xhttp.AmzEncryptionAES { return key, ErrInvalidCustomerAlgorithm } if h.Get(xhttp.AmzServerSideEncryptionCustomerKey) == "" { return key, ErrMissingCustomerKey } if h.Get(xhttp.AmzServerSideEncryptionCustomerKeyMD5) == "" { return key, ErrMissingCustomerKeyMD5
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.2K bytes - Viewed (0) -
cmd/xl-storage-format-utils_test.go
{ name: "several", arg: map[string]string{ xhttp.AmzRestore: "FAILED", xhttp.ContentMD5: mustGetUUID(), xhttp.AmzBucketReplicationStatus: "PENDING", xhttp.ContentType: "application/json", }, }, { name: "someempty", arg: map[string]string{ xhttp.AmzRestore: "", xhttp.ContentMD5: mustGetUUID(),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/bucket-lifecycle_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "net/http" "testing" "time" "github.com/minio/minio/internal/bucket/lifecycle" xhttp "github.com/minio/minio/internal/http" ) // TestParseRestoreObjStatus tests parseRestoreObjStatus func TestParseRestoreObjStatus(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 31 09:57:57 UTC 2022 - 7K bytes - Viewed (0) -
cmd/generic-handlers_test.go
} u, err := url.Parse("http://localhost:9000/minio/lock") if err != nil { t.Fatal(err) } r := &http.Request{ Proto: "HTTP/1.0", Method: http.MethodPost, URL: u, } if !guessIsRPCReq(r) { t.Fatal("Test shouldn't fail for a possible net/rpc request.") } r = &http.Request{ Proto: "HTTP/1.1", Method: http.MethodGet, URL: u, } if !guessIsRPCReq(r) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 5.5K bytes - Viewed (0)