diff options
| author | Damien Neil <dneil@google.com> | 2025-10-02 09:42:57 -0700 |
|---|---|---|
| committer | Damien Neil <dneil@google.com> | 2025-10-02 12:53:31 -0700 |
| commit | 53845004d647e16b3de7c74e50cffaca77e028e9 (patch) | |
| tree | dd8eaedddeab5840178434af854803e5b23e371c /test/codegen | |
| parent | bbdff9e8e1fca772a13acb0c4c7828cfe246d403 (diff) | |
| download | go-53845004d647e16b3de7c74e50cffaca77e028e9.tar.xz | |
net/http/httputil: deprecate ReverseProxy.Director
The Director function has been superseded by Rewrite.
Rewrite avoids fundamental security issues with hop-by-hop header
handling in the Director API and has better default handling
of X-Forwarded-* headers.
Fixes #73161
Change-Id: Iadaf3070e0082458f79fb892ade51cb7ce832802
Reviewed-on: https://go-review.googlesource.com/c/go/+/708615
Reviewed-by: Nicholas Husin <husin@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Nicholas Husin <nsh@golang.org>
Diffstat (limited to 'test/codegen')
0 files changed, 0 insertions, 0 deletions
