summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorAndrew <andrew@du.nham.ca>2014-05-02 01:26:12 -0700
committerAndrew <andrew@du.nham.ca>2014-05-02 01:26:12 -0700
commita455258a62c81da600b2d15b7cd61493398367ed (patch)
tree1339be17d80a51153fff04ba7c9ac0a58e78007e /cmd
parent0ae342673afea59176ffef121fa26519e2dff817 (diff)
Fix typo in header name
Diffstat (limited to 'cmd')
-rw-r--r--cmd/syncthing/gui_embedded.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/syncthing/gui_embedded.go b/cmd/syncthing/gui_embedded.go
index 04cc5af8c4..4d1562d52b 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)