go/src
Brad Fitzpatrick e0307c25be net/http: document that Handlers shouldn't mutate Request
Also, don't read from the Request.Headers in the http Server code once
ServeHTTP has started. This is partially redundant with documenting
that handlers shouldn't mutate request, but: the space is free due to
bool packing, it's faster to do the checks once instead of N times in
writeChunk, and it's a little nicer to code which previously didn't
play by the unwritten rules. But I'm not going to fix all the cases.

Fixes #14940

Change-Id: I612a8826b41c8682b59515081c590c512ee6949e
Reviewed-on: https://go-review.googlesource.com/21530
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-04-06 02:40:49 +00:00
..
archive all: delete dead test code 2016-03-21 07:10:08 +00:00
bufio all: delete dead test code 2016-03-21 07:10:08 +00:00
builtin
bytes all: delete dead test code 2016-03-21 07:10:08 +00:00
cmd cmd/compile: move a lot of declarations outside of go.go 2016-04-05 21:38:15 +00:00
compress compress/gzip: fix Reader.Reset 2016-04-02 23:36:21 +00:00
container
context context: add the context package from golang.org/x/net/context 2016-04-05 00:08:50 +00:00
crypto crypto/rsa, crypto/ecdsa: fail earlier on zero parameters 2016-04-05 21:03:20 +00:00
database/sql all: delete dead non-test code 2016-03-25 06:28:13 +00:00
debug debug/gosym: do not forget to close test binay file handle in TestPCLine 2016-04-05 04:43:44 +00:00
encoding encoding/json: allow non-string type keys for (un-)marshal 2016-04-05 15:08:04 +00:00
errors
expvar expvar: document that the Var interface's String method should return a valid JSON value. 2016-04-05 05:50:56 +00:00
flag
fmt fmt: hold on to all free buffers, regardless of size 2016-04-03 06:20:37 +00:00
go go/importer: match predeclared type list with gc's list in binary exporter 2016-04-05 18:23:31 +00:00
hash hash/crc64: Add tests for ECMA polynomial 2016-03-31 20:42:02 +00:00
html html/template: prefix the internally-used FuncMap values with an underscore 2016-04-04 05:23:18 +00:00
image image/jpeg: reconstruct progressive images even if incomplete. 2016-03-31 00:33:24 +00:00
index/suffixarray
internal runtime, syscall: only search for Windows DLLs in the System32 directory 2016-04-01 22:55:36 +00:00
io io: define SeekStart, SeekCurrent, SeekEnd constants for use with Seeker 2016-04-05 14:07:04 +00:00
log
math math/big: much simplified and faster Float rounding 2016-03-22 17:07:34 +00:00
mime mime: fix maximum length of encoded-words 2016-03-29 11:19:31 +00:00
net net/http: document that Handlers shouldn't mutate Request 2016-04-06 02:40:49 +00:00
os os: deprecate os.SEEK_SET, os.SEEK_CUR, and os.SEEK_END 2016-04-05 19:59:50 +00:00
path path/filepath: normalize output of EvalSymlinks on windows 2016-04-05 00:39:25 +00:00
reflect reflect: implement StructOf 2016-04-01 14:56:21 +00:00
regexp all: delete dead non-test code 2016-03-25 06:28:13 +00:00
runtime runtime: minor Windows cleanup 2016-04-06 02:23:29 +00:00
sort all: delete dead non-test code 2016-03-25 06:28:13 +00:00
strconv
strings
sync sync: don't assume b.N > 0 2016-03-18 16:37:39 +00:00
syscall syscall: add support for s390x 2016-04-03 22:12:35 +00:00
testing testing: improve output 2016-04-05 20:38:41 +00:00
text all: delete dead non-test code 2016-03-25 06:28:13 +00:00
time all: delete dead non-test code 2016-03-25 06:28:13 +00:00
unicode
unsafe
vendor/golang.org/x/net/http2/hpack all: fix spelling mistakes 2016-04-03 17:03:15 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash cmd/dist: redo flag-passing for bootstrap 2016-03-18 19:00:03 +00:00
make.bat
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc