Commit f697cf22 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

net/http/httptest: doc tweaks

From lost-in-flight comments on CL 32190.

Change-Id: I2029cbac6d24b5944a796b359080011ec3a8da92
Reviewed-on: https://go-review.googlesource.com/32210Reviewed-by: 's avatarCaleb Spare <cespare@gmail.com>
Reviewed-by: 's avatarMartin Möhrmann <martisch@uos.de>
parent 8e4ea2f5
......@@ -29,8 +29,8 @@ type ResponseRecorder struct {
// automatic Content-Type), use the Result method.
HeaderMap http.Header
// Body is the buffer that a Handler's Write calls are sent to.
// If nil, the Writes are silently discard.
// Body is the buffer to which the Handler's Write calls are sent.
// If nil, the Writes are silently discarded.
Body *bytes.Buffer
// Flushed is whether the Handler called Flush.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment