updates
This commit is contained in:
parent
1fc3490ac4
commit
f8407162ad
203 changed files with 29726 additions and 11340 deletions
9
vendor/golang.org/x/net/webdav/webdav.go
generated
vendored
9
vendor/golang.org/x/net/webdav/webdav.go
generated
vendored
|
|
@ -642,10 +642,11 @@ const (
|
|||
// infiniteDepth. Parsing any other string returns invalidDepth.
|
||||
//
|
||||
// Different WebDAV methods have further constraints on valid depths:
|
||||
// - PROPFIND has no further restrictions, as per section 9.1.
|
||||
// - COPY accepts only "0" or "infinity", as per section 9.8.3.
|
||||
// - MOVE accepts only "infinity", as per section 9.9.2.
|
||||
// - LOCK accepts only "0" or "infinity", as per section 9.10.3.
|
||||
// - PROPFIND has no further restrictions, as per section 9.1.
|
||||
// - COPY accepts only "0" or "infinity", as per section 9.8.3.
|
||||
// - MOVE accepts only "infinity", as per section 9.9.2.
|
||||
// - LOCK accepts only "0" or "infinity", as per section 9.10.3.
|
||||
//
|
||||
// These constraints are enforced by the handleXxx methods.
|
||||
func parseDepth(s string) int {
|
||||
switch s {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue