diff options
| author | Pascal S. de Kloe <pascal@quies.net> | 2022-06-21 18:50:35 +0200 |
|---|---|---|
| committer | David Chase <drchase@google.com> | 2022-08-29 17:12:01 +0000 |
| commit | 0e16d67a560f22ac1fcbc1fa12d25add8bf649d6 (patch) | |
| tree | 27c837f5c860c44a73189eaadf061342ebe95c8d /src/debug | |
| parent | eeb1ba7a89975beb1993242d8f2db05a6237e01c (diff) | |
| download | go-0e16d67a560f22ac1fcbc1fa12d25add8bf649d6.tar.xz | |
net/http: FileServer method check + minimal OPTIONS implementation
FileServer provides a read-only service. Methods other than GET or HEAD should
be denied with an Allow header.
Fixes #53501
Change-Id: I1d31b405eefd90565ecd474ac3f8d8d6e3b15072
Reviewed-on: https://go-review.googlesource.com/c/go/+/413554
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Damien Neil <dneil@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions
