Merge pull request #170 from andrew-d/patch-1

Fix typo in header name
This commit is contained in:
Jakob Borg 2014-05-02 16:59:08 +02:00
commit 9659d021cb
1 changed files with 1 additions and 1 deletions

View File

@ -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)