[GH-ISSUE #532] Resumable uploads don't set content-type #99

Closed
opened 2026-03-03 12:08:16 +03:00 by kerem · 1 comment
Owner

Originally created by @fsouza on GitHub (Jul 13, 2021).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/532

Somehow exposed by #530, but resumable uploads don't set content-type and an empty Content-Type header can break the .NET SDK in that specific example.

Additionally, we should consider not setting the content-type header if we don't have it.

Originally created by @fsouza on GitHub (Jul 13, 2021). Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/532 Somehow exposed by #530, but resumable uploads don't set content-type and an empty Content-Type header can break the .NET SDK in that specific example. Additionally, we should consider not setting the content-type header if we don't have it.
kerem 2026-03-03 12:08:16 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@aheritier commented on GitHub (Jan 28, 2022):

I confirm that real uploads on GCS are setting the content-type but somehow it is lost when using fake-gcs-server

<!-- gh-comment-id:1024617639 --> @aheritier commented on GitHub (Jan 28, 2022): I confirm that real uploads on GCS are setting the content-type but somehow it is lost when using fake-gcs-server
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-gcs-server#99
No description provided.