We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 403e7a2 commit 40c72a4Copy full SHA for 40c72a4
src/storage.rs
@@ -126,6 +126,10 @@ impl Storage {
126
match &config.backend {
127
StorageBackend::S3 { default, index } => {
128
let options = ClientOptions::default()
129
+ // Apply default content types for the version downloads archive
130
+ .with_content_type_for_suffix("html", "text/html")
131
+ .with_content_type_for_suffix("json", "application/json")
132
+ .with_content_type_for_suffix("csv", "text/csv")
133
// The `BufWriter::new()` API currently does not allow
134
// specifying any file attributes, so we need to set the
135
// content type here instead for the database dump upload.
0 commit comments