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
libgo: Update to weekly.2011-12-02.
[pf3gnuchains/gcc-fork.git]
/
libgo
/
go
/
net
/
http
/
fcgi
/
child.go
diff --git
a/libgo/go/net/http/fcgi/child.go
b/libgo/go/net/http/fcgi/child.go
index
529440c
..
c94b9a7
100644
(file)
--- a/
libgo/go/net/http/fcgi/child.go
+++ b/
libgo/go/net/http/fcgi/child.go
@@
-103,7
+103,7
@@
func (r *response) WriteHeader(code int) {
}
if r.header.Get("Date") == "" {
- r.header.Set("Date", time.UTC().Format(http.TimeFormat))
+ r.header.Set("Date", time.
Now().
UTC().Format(http.TimeFormat))
}
fmt.Fprintf(r.w, "Status: %d %s\r\n", code, http.StatusText(code))