rustfs_filemeta/
headers.rs

1// Copyright 2024 RustFS Team
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15pub const AMZ_META_UNENCRYPTED_CONTENT_LENGTH: &str = "X-Amz-Meta-X-Amz-Unencrypted-Content-Length";
16pub const AMZ_META_UNENCRYPTED_CONTENT_MD5: &str = "X-Amz-Meta-X-Amz-Unencrypted-Content-Md5";
17
18pub const AMZ_STORAGE_CLASS: &str = "x-amz-storage-class";
19
20pub const RESERVED_METADATA_PREFIX: &str = "X-RustFS-Internal-";
21pub const RESERVED_METADATA_PREFIX_LOWER: &str = "x-rustfs-internal-";
22
23pub const RUSTFS_HEALING: &str = "X-Rustfs-Internal-healing";
24// pub const RUSTFS_DATA_MOVE: &str = "X-Rustfs-Internal-data-mov";
25
26// pub const X_RUSTFS_INLINE_DATA: &str = "x-rustfs-inline-data";
27
28pub const VERSION_PURGE_STATUS_KEY: &str = "X-Rustfs-Internal-purgestatus";
29
30pub const X_RUSTFS_HEALING: &str = "X-Rustfs-Internal-healing";
31pub const X_RUSTFS_DATA_MOV: &str = "X-Rustfs-Internal-data-mov";
32
33pub const AMZ_OBJECT_TAGGING: &str = "X-Amz-Tagging";
34pub const AMZ_BUCKET_REPLICATION_STATUS: &str = "X-Amz-Replication-Status";
35pub const AMZ_DECODED_CONTENT_LENGTH: &str = "X-Amz-Decoded-Content-Length";
36
37pub const RUSTFS_DATA_MOVE: &str = "X-Rustfs-Internal-data-mov";