summaryrefslogtreecommitdiff
path: root/libgo/go/net/http/response.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/net/http/response.go')
-rw-r--r--libgo/go/net/http/response.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/go/net/http/response.go b/libgo/go/net/http/response.go
index 35d0ba3bb15..2ec1d408728 100644
--- a/libgo/go/net/http/response.go
+++ b/libgo/go/net/http/response.go
@@ -187,6 +187,7 @@ func (r *Response) ProtoAtLeast(major, minor int) bool {
// ContentLength
// Header, values for non-canonical keys will have unpredictable behavior
//
+// Body is closed after it is sent.
func (r *Response) Write(w io.Writer) error {
// Status line