mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[PR #521] [MERGED] Add form data upload #684
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#684
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:form-data-upload📝 Commits (2)
29cc453Add form data upload83c0d70Fix 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.