Fix typo in header name

This commit is contained in:
Andrew 2014-05-02 01:26:12 -07:00
parent 0ae342673a
commit a455258a62

View File

@ -32,7 +32,7 @@ func embeddedStatic() interface{} {
if len(mtype) != 0 { if len(mtype) != 0 {
res.Header().Set("Content-Type", mtype) 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.Header().Set("Last-Modified", modt)
res.Write(bs) res.Write(bs)