mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-26 06:05:54 +03:00
[PR #759] [MERGED] Add HEAD support for storage API object endpoint #889
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#889
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/759
Author: @jossemarGT
Created: 4/25/2022
Status: ✅ Merged
Merged: 5/10/2022
Merged by: @fsouza
Base:
main← Head:feat/add-options-support📝 Commits (2)
12f0ad7Support HEAD method on storage APIad5c1e5Update documentation regarding flag usage📊 Changes
4 files changed (+19 additions, -2 deletions)
View changed files
📝
README.md(+10 -0)📝
fakestorage/object.go(+1 -1)📝
fakestorage/server.go(+1 -1)📝
fakestorage/server_test.go(+7 -0)📄 Description
I think I found a easy way to fix #667.
I also took the liberty to update the documentation, spelling out the
-helpflag usage for new users. Fun story, when I started using this emulator, I jumped into the code to figure out if there was a way to support my use case; I went from the endpoints to the handler implementation. Lastly, I found out all that the flags definitions were sitting inconfig.gofile, also that I could simply have used said flag all the time 😅.Both changes are in separted commits in case we want to drop or modify any of them.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.