diff options
author | Alex Auvolat <alex@adnab.me> | 2021-02-19 12:38:22 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-02-19 12:38:22 +0100 |
commit | 02d512f3fd3bf78b1a0efe410c0704565cab6470 (patch) | |
tree | 4408fc960967a27f5851e99d8775243903e1f7cf /src/api/s3_get.rs | |
parent | 76390085ef7cc0a8879e9edc039b536f90d5aa59 (diff) | |
download | garage-02d512f3fd3bf78b1a0efe410c0704565cab6470.tar.gz garage-02d512f3fd3bf78b1a0efe410c0704565cab6470.zip |
Fix #28, extra headers being ignored (because of profound stupidity)
Diffstat (limited to 'src/api/s3_get.rs')
-rw-r--r-- | src/api/s3_get.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/s3_get.rs b/src/api/s3_get.rs index 1a23f476..68e7c66a 100644 --- a/src/api/s3_get.rs +++ b/src/api/s3_get.rs @@ -16,6 +16,8 @@ fn object_headers( version: &ObjectVersion, version_meta: &ObjectVersionMeta, ) -> http::response::Builder { + debug!("Version meta: {:?}", version_meta); + let date = UNIX_EPOCH + Duration::from_millis(version.timestamp); let date_str = httpdate::fmt_http_date(date); |