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 d5f1348 commit 2385e28
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 2385e28

Please sign in to comment.