diff --git a/cmd/syncthing/gui_embedded.go b/cmd/syncthing/gui_embedded.go index 04cc5af8c..4d1562d52 100644 --- a/cmd/syncthing/gui_embedded.go +++ b/cmd/syncthing/gui_embedded.go @@ -32,7 +32,7 @@ func embeddedStatic() interface{} { if len(mtype) != 0 { res.Header().Set("Content-Type", mtype) } - res.Header().Set("Content-Size", fmt.Sprintf("%d", len(bs))) + res.Header().Set("Content-Length", fmt.Sprintf("%d", len(bs))) res.Header().Set("Last-Modified", modt) res.Write(bs)