Skip to content

Commit 95f7395

Browse files
authored
Merge pull request #92 from rust-lang/pa-manifests-txt-content-type
Set content-type for `manifests.txt`
2 parents 27ac1b6 + 9d47364 commit 95f7395

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,7 @@ impl Context {
744744
.arg(manifest.path())
745745
.args(["--bucket", &self.config.upload_bucket])
746746
.args(["--key", "manifests.txt"])
747+
.args(["--content-type", "text/plain"])
747748
// Fail the request if the manifest was already modified by something else (for
748749
// example, another release running in parallel).
749750
.args([conditional_header, &conditional_value]))?;

0 commit comments

Comments
 (0)