Commit 7e10a2f6 authored by Kunpei Sakai's avatar Kunpei Sakai Committed by Tom Bergan

net/http: net/http: doc that prefer "must" over "should"

See https://go-review.googlesource.com/c/go/+/59850

Change-Id: I9f0b6bc009eae86cbbdb56562ee4eb8d5eef653e
Reviewed-on: https://go-review.googlesource.com/61230Reviewed-by: default avatarTom Bergan <tombergan@google.com>
parent 2cb61aa3
......@@ -179,7 +179,7 @@ type Hijacker interface {
// The returned bufio.Reader may contain unprocessed buffered
// data from the client.
//
// After a call to Hijack, the original Request.Body should
// After a call to Hijack, the original Request.Body must
// not be used.
Hijack() (net.Conn, *bufio.ReadWriter, error)
}
......
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