summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2015-11-12 10:41:09 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2015-11-13 09:16:53 +0000
commitd3a4e8ed3c7a1929eea13f9de9fb1aa3cab71ad4 (patch)
tree5a2b3097d910ac2744c831bd8bade93818ddf22e /api
parent2a031e6a2a4f7d83b80f9333bbd4f5d80a4873cf (diff)
downloadgo-git-d3a4e8ed3c7a1929eea13f9de9fb1aa3cab71ad4.tar.gz
compress/gzip: specify when Reader.Header is valid
The gzip package is asymmetrical in the way it handles headers. In Writer, the Header is written on the first call to Write, Flush, or Close. In Reader, the Header is read on calls to NewReader or Reset as opposed to after the first Read. Thus, we document this difference. Fixes #13211 Change-Id: I5f87beff036e5e2fd68a02a15fdb7137e9ca4c37 Reviewed-on: https://go-review.googlesource.com/16838 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions