mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-08 05:43:13 +00:00
add support for caching headers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user