// is to prefix the Header map keys with the TrailerPrefix
// constant value. See TrailerPrefix.
//
- // To suppress implicit response headers (such as "Date"), set
+ // To suppress automatic response headers (such as "Date"), set
// their value to nil.
Header() Header
// WriteHeader(http.StatusOK) before writing the data. If the Header
// does not contain a Content-Type line, Write adds a Content-Type set
// to the result of passing the initial 512 bytes of written data to
- // DetectContentType.
+ // DetectContentType. Additionally, if the total size of all written
+ // data is under a few KB and there are no Flush calls, the
+ // Content-Length header is added automatically.
//
// Depending on the HTTP protocol version and the client, calling
// Write or WriteHeader may prevent future reads on the