commit | ac9987996285eb37e5176356621eec4f5c9b8e83 | [log] [tgz] |
---|---|---|
author | vvatanabe <yuichi.watanabe.ja@gmail.com> | Fri May 03 16:16:45 2024 +0900 |
committer | Gopher Robot <gobot@golang.org> | Fri May 10 17:25:32 2024 +0000 |
tree | 75cca11f40176be8e664ba7796b2ff8f84e4996c | |
parent | 7fa635bd2621428e6b8528111446dcdd91910203 [diff] |
webdav: return 409 for PUT without parent collection Aligning with the WebDAV RFC specification, changes the server response for PUT operations that would create a resource without an existing parent collection from HTTP 404 Not Found to HTTP 409 Conflict. RFC RFC4918, section 9.7.1 Fixes golang/go#67150 Change-Id: I5ce6c5ea147a6a450ef5ae2e0077eb0dce409743 Reviewed-on: https://go-review.googlesource.com/c/net/+/583055 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Damien Neil <dneil@google.com>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.