diff options
author | Alex <alex@adnab.me> | 2021-03-18 19:45:02 +0100 |
---|---|---|
committer | Alex <alex@adnab.me> | 2021-03-18 19:45:02 +0100 |
commit | bfa0ff8f82c88ea3ea606bf0fcce60d36f9716ac (patch) | |
tree | f2c05787a4d2fd41ab6c4086b04dc97b57c7c862 /src/api/api_server.rs | |
parent | dead945c8f770ab62a676922f98cc59c636257ce (diff) | |
parent | b4c903371c3812851befd1af8f01419fe18efcf3 (diff) | |
download | garage-bfa0ff8f82c88ea3ea606bf0fcce60d36f9716ac.tar.gz garage-bfa0ff8f82c88ea3ea606bf0fcce60d36f9716ac.zip |
Merge pull request 'add support for caching headers' (#49) from trinity-1686a/garage:cache-headers into master
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/49
Diffstat (limited to 'src/api/api_server.rs')
-rw-r--r-- | src/api/api_server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/api_server.rs b/src/api/api_server.rs index bc98686d..2feb0e3a 100644 --- a/src/api/api_server.rs +++ b/src/api/api_server.rs @@ -101,7 +101,7 @@ async fn handler_inner(garage: Arc<Garage>, req: Request<Body>) -> Result<Respon match req.method() { &Method::HEAD => { // HeadObject query - Ok(handle_head(garage, &bucket, &key).await?) + Ok(handle_head(garage, &req, &bucket, &key).await?) } &Method::GET => { // GetObject query |