[PR #521] [MERGED] Add form data upload #684

Closed
opened 2026-03-03 12:31:09 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fsouza/fake-gcs-server/pull/521
Author: @Sytten
Created: 6/29/2021
Status: Merged
Merged: 7/13/2021
Merged by: @fsouza

Base: mainHead: form-data-upload


📝 Commits (2)

  • 29cc453 Add form data upload
  • 83c0d70 Fix formatting and suggested nit

📊 Changes

4 files changed (+219 additions, -0 deletions)

View changed files

📝 fakestorage/server.go (+10 -0)
📝 fakestorage/upload.go (+69 -0)
📝 fakestorage/upload_test.go (+85 -0)
fakestorage/xml_response.go (+55 -0)

📄 Description

Closes https://github.com/fsouza/fake-gcs-server/issues/270

This adds the form data upload method that is commonly used for websites. It does the basic, but could be extended to support further use cases down the line. I tried to follow the current code architecture as much as I could.


🔄 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/521 **Author:** [@Sytten](https://github.com/Sytten) **Created:** 6/29/2021 **Status:** ✅ Merged **Merged:** 7/13/2021 **Merged by:** [@fsouza](https://github.com/fsouza) **Base:** `main` ← **Head:** `form-data-upload` --- ### 📝 Commits (2) - [`29cc453`](https://github.com/fsouza/fake-gcs-server/commit/29cc4538fdd317abceaf6747e97fbff075f14237) Add form data upload - [`83c0d70`](https://github.com/fsouza/fake-gcs-server/commit/83c0d70a2e3dbe10073775055697067abb072fd4) Fix formatting and suggested nit ### 📊 Changes **4 files changed** (+219 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `fakestorage/server.go` (+10 -0) 📝 `fakestorage/upload.go` (+69 -0) 📝 `fakestorage/upload_test.go` (+85 -0) ➕ `fakestorage/xml_response.go` (+55 -0) </details> ### 📄 Description Closes https://github.com/fsouza/fake-gcs-server/issues/270 This adds the form data upload method that is commonly used for websites. It does the basic, but could be extended to support further use cases down the line. I tried to follow the current code architecture as much as I could. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 12:31:09 +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#684
No description provided.