aboutsummaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'http.go')
-rw-r--r--http.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/http.go b/http.go
index 8bab03e..7b79aca 100644
--- a/http.go
+++ b/http.go
@@ -11,18 +11,18 @@ type (
DeleteNotSupported struct{}
)
-func (GetNotSupported) Get(values ...url.Values) (int, interface{}) {
+func (GetNotSupported) Get(values url.Values) (int, interface{}) {
return 405, ""
}
-func (PostNotSupported) Post(values ...url.Values) (int, interface{}) {
+func (PostNotSupported) Post(values url.Values) (int, interface{}) {
return 405, ""
}
-func (PutNotSupported) Put(values ...url.Values) (int, interface{}) {
+func (PutNotSupported) Put(values url.Values) (int, interface{}) {
return 405, ""
}
-func (DeleteNotSupported) Delete(values ...url.Values) (int, interface{}) {
+func (DeleteNotSupported) Delete(values url.Values) (int, interface{}) {
return 405, ""
}
bgstack15