OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new repo
[bytom/vapor.git]
/
vendor
/
golang.org
/
x
/
net
/
webdav
/
file_go1.7.go
1
// Copyright 2016 The Go Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
4
5
// +build go1.7
6
7
package webdav
8
9
import (
10
"context"
11
"net/http"
12
)
13
14
func getContext(r *http.Request) context.Context {
15
return r.Context()
16
}