mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-10 18:31:20 +02:00
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>