From a455258a62c81da600b2d15b7cd61493398367ed Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 2 May 2014 01:26:12 -0700 Subject: [PATCH] Fix typo in header name --- cmd/syncthing/gui_embedded.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)