mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[GH-ISSUE #1270] Is it possible to download using gsutil command? #181
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#181
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?
Originally created by @jdominguez408 on GitHub (Jul 31, 2023).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1270
In this example (file /examples/gsutil/gsutil-example.sh):
We can see all the operations with gsutil but not the download one. I've tried to execute next command like the previous examples:
But I always get the same error:
The request reach fake-gcs-server in this way:
As I understood, to be able to download, the argument
altmust have the valuealt=mediainsteadalt=json. It looks like the client, gsutil in this case, sends the request with the argumentalt=json. This same command against a real bucket works perfectly. Could it be possible to make fake-gcs-server compatible with gsutil to work and being able to download with it?