mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-26 06:05:54 +03:00
[PR #1520] [MERGED] Support the projection parameter in getObject #1569
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#1569
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/1520
Author: @manuteleco
Created: 3/8/2024
Status: ✅ Merged
Merged: 3/18/2024
Merged by: @fsouza
Base:
main← Head:support_projection_in_getobject📝 Commits (1)
bb21b0aSupport theprojectionparameter ingetObject📊 Changes
3 files changed (+136 additions, -1 deletions)
View changed files
📝
fakestorage/object.go(+16 -1)📝
fakestorage/object_test.go(+111 -0)📝
fakestorage/response.go(+9 -0)📄 Description
According to the behavior described in the official documentation. That is, ACL information should only be returned if
projection=fullis provided as GET parameter.This behavior is not testeable using the Go GCS client, because it hardcodes the value
fullwhen performing the HTTP request (see implementation).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.