Skip to content

Commit

Permalink
Merge pull request #140 from GenomicDataInfrastructure/remove-content…
Browse files Browse the repository at this point in the history
…-length

fix: remove content-length from dataset in format endpoint
  • Loading branch information
brunopacheco1 authored Nov 6, 2024
2 parents 104e5f9 + 0e91358 commit a4ba47f
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public Response retrieveDatasetInFormat(String id, String format) {
.ok(content)
.type(type)
.header("Content-Disposition", "attachment; filename=\"" + id + "." + format + "\"")
.header("Content-Length", content.length())
.build();
}

Expand Down

0 comments on commit a4ba47f

Please sign in to comment.