github.com/minio/minio@v0.0.0-20240328213742-3f72439b8a27/internal/http/lambda-headers.go (about) 1 // Copyright (c) 2015-2023 MinIO, Inc. 2 // 3 // This file is part of MinIO Object Storage stack 4 // 5 // This program is free software: you can redistribute it and/or modify 6 // it under the terms of the GNU Affero General Public License as published by 7 // the Free Software Foundation, either version 3 of the License, or 8 // (at your option) any later version. 9 // 10 // This program is distributed in the hope that it will be useful 11 // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 // GNU Affero General Public License for more details. 14 // 15 // You should have received a copy of the GNU Affero General Public License 16 // along with this program. If not, see <http://www.gnu.org/licenses/>. 17 18 package http 19 20 // Object Lambda headers 21 const ( 22 AmzRequestRoute = "x-amz-request-route" 23 AmzRequestToken = "x-amz-request-token" 24 25 AmzFwdStatus = "x-amz-fwd-status" 26 AmzFwdErrorCode = "x-amz-fwd-error-code" 27 AmzFwdErrorMessage = "x-amz-fwd-error-message" 28 AmzFwdHeaderAcceptRanges = "x-amz-fwd-header-accept-ranges" 29 AmzFwdHeaderCacheControl = "x-amz-fwd-header-Cache-Control" 30 AmzFwdHeaderContentDisposition = "x-amz-fwd-header-Content-Disposition" 31 AmzFwdHeaderContentEncoding = "x-amz-fwd-header-Content-Encoding" 32 AmzFwdHeaderContentLanguage = "x-amz-fwd-header-Content-Language" 33 AmzFwdHeaderContentRange = "x-amz-fwd-header-Content-Range" 34 AmzFwdHeaderContentType = "x-amz-fwd-header-Content-Type" 35 AmzFwdHeaderChecksumCrc32 = "x-amz-fwd-header-x-amz-checksum-crc32" 36 AmzFwdHeaderChecksumCrc32c = "x-amz-fwd-header-x-amz-checksum-crc32c" 37 AmzFwdHeaderChecksumSha1 = "x-amz-fwd-header-x-amz-checksum-sha1" 38 AmzFwdHeaderChecksumSha256 = "x-amz-fwd-header-x-amz-checksum-sha256" 39 AmzFwdHeaderDeleteMarker = "x-amz-fwd-header-x-amz-delete-marker" 40 AmzFwdHeaderETag = "x-amz-fwd-header-ETag" 41 AmzFwdHeaderExpires = "x-amz-fwd-header-Expires" 42 AmzFwdHeaderExpiration = "x-amz-fwd-header-x-amz-expiration" 43 AmzFwdHeaderLastModified = "x-amz-fwd-header-Last-Modified" 44 45 AmzFwdHeaderObjectLockMode = "x-amz-fwd-header-x-amz-object-lock-mode" 46 AmzFwdHeaderObjectLockLegalHold = "x-amz-fwd-header-x-amz-object-lock-legal-hold" 47 AmzFwdHeaderObjectLockRetainUntil = "x-amz-fwd-header-x-amz-object-lock-retain-until-date" 48 AmzFwdHeaderMPPartsCount = "x-amz-fwd-header-x-amz-mp-parts-count" 49 AmzFwdHeaderReplicationStatus = "x-amz-fwd-header-x-amz-replication-status" 50 AmzFwdHeaderSSE = "x-amz-fwd-header-x-amz-server-side-encryption" 51 AmzFwdHeaderSSEC = "x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm" 52 AmzFwdHeaderSSEKMSID = "x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id" 53 AmzFwdHeaderSSECMD5 = "x-amz-fwd-header-x-amz-server-side-encryption-customer-key-MD5" 54 AmzFwdHeaderStorageClass = "x-amz-fwd-header-x-amz-storage-class" 55 AmzFwdHeaderTaggingCount = "x-amz-fwd-header-x-amz-tagging-count" 56 AmzFwdHeaderVersionID = "x-amz-fwd-header-x-amz-version-id" 57 )