mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[PR #778] [MERGED] Content-Range is incorrectly specified. #908
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#908
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/778
Author: @yuki2006
Created: 5/9/2022
Status: ✅ Merged
Merged: 5/10/2022
Merged by: @fsouza
Base:
main← Head:main📝 Commits (2)
44d3845fix Content-Range: end to lastByte.c4614a3add Content-Range unit test📊 Changes
2 files changed (+20 additions, -12 deletions)
View changed files
📝
fakestorage/object.go(+5 -4)📝
fakestorage/server_test.go(+15 -8)📄 Description
For example, a file of 22709217 bytes content is
should be
0-22709216/22709217instead of0-22709217/22709217.Chrome will not handle this correctly and videos and other files will not play.
RFC:
https://httpwg.org/specs/rfc7233.html#header.content-range
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.