From 2adc4e892704bb99f2d16c0c09777987cb6bed35 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Tue, 17 Feb 2015 15:44:42 -0800 Subject: all: use "reports whether" in place of "returns true if(f)" Comment changes only. Change-Id: I56848814564c4aa0988b451df18bebdfc88d6d94 Reviewed-on: https://go-review.googlesource.com/7721 Reviewed-by: Rob Pike --- src/net/http/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/http/server.go') diff --git a/src/net/http/server.go b/src/net/http/server.go index c68aa2c985..565c87d392 100644 --- a/src/net/http/server.go +++ b/src/net/http/server.go @@ -981,7 +981,7 @@ func statusLine(req *Request, code int) string { return line } -// bodyAllowed returns true if a Write is allowed for this response type. +// bodyAllowed reports whether a Write is allowed for this response type. // It's illegal to call this before the header has been flushed. func (w *response) bodyAllowed() bool { if !w.wroteHeader { -- cgit v1.3-5-g9baa