mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[GH-ISSUE #1362] Signed url upload returns 200 response instead of 308 for headers = {"Content-Length": "0", "Content-Range": "bytes */*"} #193
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#193
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 @j-antunes on GitHub (Oct 12, 2023).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1362
Hello!
I think for the resumable uploads there is a small difference between the emulated and real GCS for when we start an upload.
The below code snippet is an example of an initial request that we can do to get the current status of the upload. You usually do this to see if there is anything already uploaded.
I would expect to receive a 308 response (upload incomplete), but instead I'm getting a 200 response.
Note that you can skip this step and just directly upload the file, but it would be nice that this would work as expected.
Here is an example to reproduce the issue
This is the response that I got
Running the same example against the real GCS I get the following response: