aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorDamien Neil <dneil@google.com>2022-01-04 10:34:50 -0800
committerDamien Neil <dneil@google.com>2022-03-31 23:30:43 +0000
commita41763539c7ad09a22720a517a28e6018ca4db0f (patch)
tree0bde212ab0529a136569fa7e238a2e274337b815 /src/debug
parentfb2a9d27e395af5bb0c88d0fa453bba868275800 (diff)
downloadgo-a41763539c7ad09a22720a517a28e6018ca4db0f.tar.xz
net/http: handle 3xx responses with no Location
RFC 7231 does not require that a 3xx response contain a Location header. When receiving such a response, just return it to the caller rather than treating it as an error. Fixes #49281. Change-Id: I66c06d81b0922016384a0f4ff32bf52e3a3d5983 Reviewed-on: https://go-review.googlesource.com/c/go/+/375354 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Trust: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions