[PR #1730] [MERGED] Support setting cache-control of object #1767

Closed
opened 2026-03-03 12:36:06 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fsouza/fake-gcs-server/pull/1730
Author: @ljpcool
Created: 8/27/2024
Status: Merged
Merged: 9/22/2024
Merged by: @fsouza

Base: mainHead: sup-set-cache-control


📝 Commits (5)

  • 35d70c3 Update .gitignore
  • df76c4f Support to set object's CacheControl
  • a2bbc7b Revert "Update .gitignore"
  • 53fc43b fakestorage: set Cache-Control in the downloadObject endpoint
  • dd02939 Merge remote-tracking branch 'origin/main' into sup-set-cache-control

📊 Changes

4 files changed (+26 additions, -1 deletions)

View changed files

📝 fakestorage/object.go (+7 -0)
📝 fakestorage/upload.go (+8 -1)
📝 fakestorage/upload_test.go (+10 -0)
📝 internal/backend/object.go (+1 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fsouza/fake-gcs-server/pull/1730 **Author:** [@ljpcool](https://github.com/ljpcool) **Created:** 8/27/2024 **Status:** ✅ Merged **Merged:** 9/22/2024 **Merged by:** [@fsouza](https://github.com/fsouza) **Base:** `main` ← **Head:** `sup-set-cache-control` --- ### 📝 Commits (5) - [`35d70c3`](https://github.com/fsouza/fake-gcs-server/commit/35d70c3cda7b318c1b1d1a9c217e8049aefc136e) Update .gitignore - [`df76c4f`](https://github.com/fsouza/fake-gcs-server/commit/df76c4f7aaf53be41f56687d00d7aff5f26cd214) Support to set object's CacheControl - [`a2bbc7b`](https://github.com/fsouza/fake-gcs-server/commit/a2bbc7b029d7942a9f63d24d4569bbace9374329) Revert "Update .gitignore" - [`53fc43b`](https://github.com/fsouza/fake-gcs-server/commit/53fc43bd4e362e3be3529dd903ba1cfffcbad41e) fakestorage: set `Cache-Control` in the `downloadObject` endpoint - [`dd02939`](https://github.com/fsouza/fake-gcs-server/commit/dd0293963094aab3ac100cf7fcdab228db4aa51a) Merge remote-tracking branch 'origin/main' into sup-set-cache-control ### 📊 Changes **4 files changed** (+26 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `fakestorage/object.go` (+7 -0) 📝 `fakestorage/upload.go` (+8 -1) 📝 `fakestorage/upload_test.go` (+10 -0) 📝 `internal/backend/object.go` (+1 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 12:36:06 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-gcs-server#1767
No description provided.