Skip to content
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

feat(storage): make it possible to disable Content-Type sniffing #9431

Merged

Commits on Feb 22, 2024

  1. feat(storage): make it possible to disable Content-Type sniffing

    As described in
    google/go-cloud#3298 (comment),
    we want to disable automatic `Content-Type` detection when
    inserting an object to Google Cloud Storage (GCS).
    
    Previously it wasn't possible to disable this auto-detection, even
    though `googleapi.MediaOptions` provides a `ForceEmptyContentType`
    option (https://github.com/googleapis/google-api-go-client/blob/v0.165.0/googleapi/googleapi.go#L283).
    
    We enable this by adding a `Writer` option to set this value.
    
    Closes googleapis#9430
    stanhu committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    932bab0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d848e4e View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Configuration menu
    Copy the full SHA
    b759a31 View commit details
    Browse the repository at this point in the history