diff options
Diffstat (limited to 'cmd/web')
| -rw-r--r-- | cmd/web/handlers.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/web/handlers.go b/cmd/web/handlers.go index 182b100..a8db3bc 100644 --- a/cmd/web/handlers.go +++ b/cmd/web/handlers.go @@ -83,6 +83,8 @@ func (a *App) HandleDownload(w http.ResponseWriter, r *http.Request) { w.Header().Add("Content-type", "application/tar") w.Header().Add("Estimated-size", fmt.Sprintf("%d", g.Size)) + // Content-length is not being sent down intentionally as we do not + // know the exact size Logger.Printf("Client %s is downloading: %s", r.RemoteAddr, game) |
