-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resumable uploads don't set content-type #532
Labels
Comments
fsouza
added a commit
that referenced
this issue
Jul 13, 2021
* Add file download to node example * Set validation: false * Set X-Goog-Hash header on download response * Add both crc32c and md5 * Remove fixed comment. * Don't set empty content-type header on download Temporary workaround for #532 so we can get this PR in. Co-authored-by: francisco souza <108725+fsouza@users.noreply.github.com> Co-authored-by: francisco souza <fsouza@users.noreply.github.com>
I confirm that real uploads on GCS are setting the content-type but somehow it is lost when using fake-gcs-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: