Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
fix: do not set incorrect content length
Browse files Browse the repository at this point in the history
  • Loading branch information
MalinAhlberg committed Feb 7, 2024
1 parent f87174d commit 2e8eba2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/sda/sda.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ func Download(c *gin.Context) {

return
}
c.Header("Content-Length", "-1")
fileStream = encryptedFileReader

default:
Expand Down

0 comments on commit 2e8eba2

Please sign in to comment.