mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-17 17:45:03 +02:00
570141eae7
closes #2514 The fix is simple, just providing a file name, so `http.ServeContent(...)` can set the correct mimeype in case the content is zero bytes. The test was just extended. PS: I would appreciate a `hacktoberfest-accepted` label ;) --------- Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>