OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update to current version of Go library.
[pf3gnuchains/gcc-fork.git]
/
libgo
/
go
/
http
/
fs.go
diff --git
a/libgo/go/http/fs.go
b/libgo/go/http/fs.go
index
c5efffc
..
17d5297
100644
(file)
--- a/
libgo/go/http/fs.go
+++ b/
libgo/go/http/fs.go
@@
-143,7
+143,7
@@
func serveFile(w ResponseWriter, r *Request, name string, redirect bool) {
n, _ := io.ReadFull(f, buf[:])
b := buf[:n]
if isText(b) {
- ctype = "text
-
plain; charset=utf-8"
+ ctype = "text
/
plain; charset=utf-8"
} else {
// generic binary
ctype = "application/octet-stream"