Currently, files uploaded to GCS don’t include the content type. Is there any way to fix that?
Hi @ragnor.comerford,
It doesn’t look like GCS has a method for doing this automatically yet, so we would need to set it for each detected type. I can ask the product team about this.
Can you tell me a bit about your use case and why you need the content type? Is this for serving static content over the web?
Hi @Tony,
thanks for your quick reply. The PDF files I am storing in GCP get downloaded instead of displayed in the browser when being accessed. This can be fixed by setting the content type.
Hi @ragnor.comerford,
Thanks for the details. I’ll have the team look into it and see what can be done here
Thank you very much! Without the content type, I wouldn’t be able to use odrive, unfortunately.
1 Like