[PR #434] [CLOSED] add put method for object updates #607

Closed
opened 2026-03-03 12:30:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fsouza/fake-gcs-server/pull/434
Author: @zdunecki
Created: 2/22/2021
Status: Closed

Base: mainHead: put-method-for-object-update


📝 Commits (1)

  • 644ef1e add put method for object updates

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 fakestorage/server.go (+1 -1)

📄 Description

GCS has PUT method to object updates. Under the hood fake-gcs-server uses Update method from Google but this call PUT request instead of PATCH and fake-gcs-server serves only PATCH, then for consistency I've added PUT method also.


🔄 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/434 **Author:** [@zdunecki](https://github.com/zdunecki) **Created:** 2/22/2021 **Status:** ❌ Closed **Base:** `main` ← **Head:** `put-method-for-object-update` --- ### 📝 Commits (1) - [`644ef1e`](https://github.com/fsouza/fake-gcs-server/commit/644ef1e17b3462b21e35d2a88de2d526180a0d5c) add put method for object updates ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `fakestorage/server.go` (+1 -1) </details> ### 📄 Description GCS has `PUT` method to object updates. Under the hood fake-gcs-server uses `Update` method from Google but this call `PUT` request instead of `PATCH` and fake-gcs-server serves only `PATCH`, then for consistency I've added `PUT` method also. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 12:30:48 +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#607
No description provided.